{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 把cosmopedia转为输入形式"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "from pathlib import Path\n",
    "import re\n",
    "\n",
    "def print_in_lines(text, line_length):\n",
    "    words        = text.split()\n",
    "    lines        = []\n",
    "    current_line = ''\n",
    "    for word in words:\n",
    "        if len(current_line + word) <= line_length:\n",
    "            current_line = current_line + word + ' '\n",
    "        else:\n",
    "            lines.append(current_line.strip())\n",
    "            current_line = word + ' '\n",
    "    lines.append(current_line.strip())\n",
    "    for line in lines:\n",
    "        print(line)\n",
    "\n",
    "dataset_dir = Path(r'H:\\2024_03_05课程大纲\\数据\\syllabus\\datasets\\cosmopedia')\n",
    "data = pd.read_parquet(dataset_dir / 'khanacademy' / 'train-00000-of-00001.parquet')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "data = pd.read_parquet(dataset_dir / 'khanacademy' / 'train-00000-of-00001.parquet')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>prompt</th>\n",
       "      <th>text_token_length</th>\n",
       "      <th>text</th>\n",
       "      <th>seed_data</th>\n",
       "      <th>format</th>\n",
       "      <th>audience</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>975</td>\n",
       "      <td>Lesson Objective: Students will understand ho...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>825</td>\n",
       "      <td>In this sub-unit, we will explore counting in...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>746</td>\n",
       "      <td>A number grid is a simple yet powerful tool f...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>1197</td>\n",
       "      <td>In this sub-unit, we will explore the concept...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>676</td>\n",
       "      <td>Let's dive into our next lesson, \"Counting by...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24118</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>706</td>\n",
       "      <td>Bare/Bear:\\n\\nThe word \"bare\" means exposed o...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24119</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>972</td>\n",
       "      <td>The Sound of Language: Alliteration, Assonanc...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24120</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>936</td>\n",
       "      <td>In this lesson, we will explore the concept o...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24121</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>640</td>\n",
       "      <td>Understatement is a stylistic device used to ...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24122</th>\n",
       "      <td>Write a long and very detailed course unit for...</td>\n",
       "      <td>646</td>\n",
       "      <td>Ironic devices such as verbal irony, situatio...</td>\n",
       "      <td>khanacademy</td>\n",
       "      <td>textbook_narrative_tone</td>\n",
       "      <td>general</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>24123 rows × 6 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                  prompt  text_token_length  \\\n",
       "0      Write a long and very detailed course unit for...                975   \n",
       "1      Write a long and very detailed course unit for...                825   \n",
       "2      Write a long and very detailed course unit for...                746   \n",
       "3      Write a long and very detailed course unit for...               1197   \n",
       "4      Write a long and very detailed course unit for...                676   \n",
       "...                                                  ...                ...   \n",
       "24118  Write a long and very detailed course unit for...                706   \n",
       "24119  Write a long and very detailed course unit for...                972   \n",
       "24120  Write a long and very detailed course unit for...                936   \n",
       "24121  Write a long and very detailed course unit for...                640   \n",
       "24122  Write a long and very detailed course unit for...                646   \n",
       "\n",
       "                                                    text    seed_data  \\\n",
       "0       Lesson Objective: Students will understand ho...  khanacademy   \n",
       "1       In this sub-unit, we will explore counting in...  khanacademy   \n",
       "2       A number grid is a simple yet powerful tool f...  khanacademy   \n",
       "3       In this sub-unit, we will explore the concept...  khanacademy   \n",
       "4       Let's dive into our next lesson, \"Counting by...  khanacademy   \n",
       "...                                                  ...          ...   \n",
       "24118   Bare/Bear:\\n\\nThe word \"bare\" means exposed o...  khanacademy   \n",
       "24119   The Sound of Language: Alliteration, Assonanc...  khanacademy   \n",
       "24120   In this lesson, we will explore the concept o...  khanacademy   \n",
       "24121   Understatement is a stylistic device used to ...  khanacademy   \n",
       "24122   Ironic devices such as verbal irony, situatio...  khanacademy   \n",
       "\n",
       "                        format audience  \n",
       "0      textbook_narrative_tone  general  \n",
       "1      textbook_narrative_tone  general  \n",
       "2      textbook_narrative_tone  general  \n",
       "3      textbook_narrative_tone  general  \n",
       "4      textbook_narrative_tone  general  \n",
       "...                        ...      ...  \n",
       "24118  textbook_narrative_tone  general  \n",
       "24119  textbook_narrative_tone  general  \n",
       "24120  textbook_narrative_tone  general  \n",
       "24121  textbook_narrative_tone  general  \n",
       "24122  textbook_narrative_tone  general  \n",
       "\n",
       "[24123 rows x 6 columns]"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.audience"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<re.Match object; span=(440, 497), match='Write the new sub-unit titled \"Irony\" while tryin>"
      ]
     },
     "execution_count": 47,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "re.search('Write the new sub-unit titled \"(.*?)\" while trying to be:', item['prompt'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "24123it [00:07, 3032.53it/s]\n"
     ]
    }
   ],
   "source": [
    "# 小学水平 khanacademy\n",
    "\n",
    "# 大学水平openstax 和stanford\n",
    "khanacademy_prompt_tempalte = {\n",
    "    'textbook_name': ['Write a long and very detailed course unit for a textbook on \"(.*?) - .*\"'],\n",
    "    'chapter_name': ['Write a long and very detailed course unit for a textbook on \".* - (.*?)\"'],\n",
    "    'unit_name': ['We are currently writing the first chapter: \"Unit \\d+: .* - (.*?)\"', 'and are now writing a chapter on \"Unit \\d+: .* - (.*?)\"'],\n",
    "    'lesson_name': ['Write the new sub-unit titled \"(.*?)\" while trying to be:'],\n",
    "}\n",
    "\n",
    "# # Item格式，弃用\n",
    "# {\n",
    "#     'textbook_name': 'Early math review',\n",
    "#     'chapters': [\n",
    "#         {\n",
    "#             'chapter_name': '',\n",
    "#             'units': [\n",
    "#                 {\n",
    "#                     'unit_name': '',\n",
    "#                     'lessons': [\n",
    "#                         'lesson_name': '',\n",
    "#                         'text': '',\n",
    "#                     ]\n",
    "#                 }\n",
    "#             ]\n",
    "#         }\n",
    "#     ]\n",
    "# }\n",
    "\n",
    "# {\n",
    "#     'textbook_name': '',\n",
    "#     'paragraphs' = [{\n",
    "#         'text', # 必有\n",
    "#         'position', # 必有\n",
    "#         'lesson_name', \n",
    "#     }],\n",
    "# }\n",
    "\n",
    "import json, tqdm\n",
    "output_path = dataset_dir / 'khanacademy/inputs'\n",
    "\n",
    "textbook_name = ''\n",
    "\n",
    "# current_dict = {'textbook_name': '', 'paragraphs': []}\n",
    "\n",
    "for index, row in tqdm.tqdm(data.iterrows()):\n",
    "    item = row.to_dict()\n",
    "\n",
    "    name_mapper = {}\n",
    "    for name, templates in khanacademy_prompt_tempalte.items():\n",
    "        for template in templates:\n",
    "            if res := re.search(template, item['prompt']):\n",
    "                value = res.group(1)\n",
    "                name_mapper[name] = value\n",
    "                break\n",
    "        else:\n",
    "            raise Exception(f'{index} Not Match for template `{name}`')\n",
    "    \n",
    "    if textbook_name != name_mapper['textbook_name']:\n",
    "        textbook_name = name_mapper['textbook_name'].replace('/', '')\n",
    "\n",
    "    output_file = (output_path / textbook_name).open('a', encoding='utf-8')\n",
    "    output_file.write(json.dumps({\n",
    "        'text': item['text'],\n",
    "        'position': f'{name_mapper[\"chapter_name\"]}_{name_mapper[\"unit_name\"]}_{name_mapper[\"lesson_name\"]}',\n",
    "        'token_length': item['text_token_length']\n",
    "    }) + '\\n')\n",
    "    output_file.close()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "    output_file.close()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 58,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>text_token_length</th>\n",
       "      <th>prompt</th>\n",
       "      <th>text</th>\n",
       "      <th>seed_data</th>\n",
       "      <th>format</th>\n",
       "      <th>audience</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1203</td>\n",
       "      <td>Write a comprehensive and in-depth textbook on...</td>\n",
       "      <td>**Global Stratification**\\n\\n*Global stratifi...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>textbook_academic</td>\n",
       "      <td>college_studnets</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1174</td>\n",
       "      <td>Write a comprehensive and in-depth textbook on...</td>\n",
       "      <td>**Unit: Calculating Keynesian Policy Interven...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>textbook_academic</td>\n",
       "      <td>college_studnets</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>590</td>\n",
       "      <td>Create a fun and simple e-learning module on '...</td>\n",
       "      <td>Title: A Fun Adventure with Jobs the Turtle!\\...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>e-learning_module</td>\n",
       "      <td>young_children</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1422</td>\n",
       "      <td>Write a comprehensive and in-depth textbook on...</td>\n",
       "      <td>**8. Operations and Management Plan**\\n\\nIn t...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>textbook_academic</td>\n",
       "      <td>college_studnets</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>489</td>\n",
       "      <td>Write a comprehensive and in-depth textbook on...</td>\n",
       "      <td>III. Application (10-25 min)\\n\\nA. Analyzing ...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>textbook_academic</td>\n",
       "      <td>college_studnets</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63161</th>\n",
       "      <td>445</td>\n",
       "      <td>Create a fun and simple e-learning module on '...</td>\n",
       "      <td>Welcome to our exciting e-learning module on ...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>e-learning_module</td>\n",
       "      <td>young_children</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63162</th>\n",
       "      <td>683</td>\n",
       "      <td>Create a fun and simple e-learning module on '...</td>\n",
       "      <td>Welcome to our exciting adventure in Algebra ...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>e-learning_module</td>\n",
       "      <td>young_children</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63163</th>\n",
       "      <td>529</td>\n",
       "      <td>Create a fun and simple e-learning module on '...</td>\n",
       "      <td>Welcome to our e-learning adventure! Today we...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>e-learning_module</td>\n",
       "      <td>young_children</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63164</th>\n",
       "      <td>667</td>\n",
       "      <td>Create an extract of a scientific journal arti...</td>\n",
       "      <td>Title: Bacterial Conjunctivitis: An Explorati...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>scientific_article</td>\n",
       "      <td>researchers</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63165</th>\n",
       "      <td>702</td>\n",
       "      <td>Create an engaging and accessible e-learning m...</td>\n",
       "      <td>Title: A Roller Coaster Adventure - Exploring...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>e-learning_module</td>\n",
       "      <td>middle_school_students</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>63166 rows × 6 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       text_token_length                                             prompt  \\\n",
       "0                   1203  Write a comprehensive and in-depth textbook on...   \n",
       "1                   1174  Write a comprehensive and in-depth textbook on...   \n",
       "2                    590  Create a fun and simple e-learning module on '...   \n",
       "3                   1422  Write a comprehensive and in-depth textbook on...   \n",
       "4                    489  Write a comprehensive and in-depth textbook on...   \n",
       "...                  ...                                                ...   \n",
       "63161                445  Create a fun and simple e-learning module on '...   \n",
       "63162                683  Create a fun and simple e-learning module on '...   \n",
       "63163                529  Create a fun and simple e-learning module on '...   \n",
       "63164                667  Create an extract of a scientific journal arti...   \n",
       "63165                702  Create an engaging and accessible e-learning m...   \n",
       "\n",
       "                                                    text seed_data  \\\n",
       "0       **Global Stratification**\\n\\n*Global stratifi...  openstax   \n",
       "1       **Unit: Calculating Keynesian Policy Interven...  openstax   \n",
       "2       Title: A Fun Adventure with Jobs the Turtle!\\...  openstax   \n",
       "3       **8. Operations and Management Plan**\\n\\nIn t...  openstax   \n",
       "4       III. Application (10-25 min)\\n\\nA. Analyzing ...  openstax   \n",
       "...                                                  ...       ...   \n",
       "63161   Welcome to our exciting e-learning module on ...  openstax   \n",
       "63162   Welcome to our exciting adventure in Algebra ...  openstax   \n",
       "63163   Welcome to our e-learning adventure! Today we...  openstax   \n",
       "63164   Title: Bacterial Conjunctivitis: An Explorati...  openstax   \n",
       "63165   Title: A Roller Coaster Adventure - Exploring...  openstax   \n",
       "\n",
       "                   format                audience  \n",
       "0       textbook_academic        college_studnets  \n",
       "1       textbook_academic        college_studnets  \n",
       "2       e-learning_module          young_children  \n",
       "3       textbook_academic        college_studnets  \n",
       "4       textbook_academic        college_studnets  \n",
       "...                   ...                     ...  \n",
       "63161   e-learning_module          young_children  \n",
       "63162   e-learning_module          young_children  \n",
       "63163   e-learning_module          young_children  \n",
       "63164  scientific_article             researchers  \n",
       "63165   e-learning_module  middle_school_students  \n",
       "\n",
       "[63166 rows x 6 columns]"
      ]
     },
     "execution_count": 58,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.prompt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Write a comprehensive and in-depth textbook on 'Introduction to Sociology 3e', tailored for college\n",
      "students. We are writing on chapter 'Global Inequality'. In particular, section 'Global\n",
      "Stratification and Classification'. Write a new unit titled 'Global Stratification'. Here's some\n",
      "text for inspiration: While stratification in the United States refers to the unequal distribution\n",
      "of resources among individuals, global stratification refers to this unequal distribution among\n",
      "nations. There are two dimensions to this stratification: gaps between nations and gaps within\n",
      "nations. When it comes to global inequality, both economic inequality and social inequality may\n",
      "concentrate the burden of poverty among certain segments of the earth’s population (Myrdal 1970).\n",
      "Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write\n",
      "with an academic and engaging tone that captivates interest. - Applied: Use specific and practical\n",
      "examples. For example, if the topic is integration in calculus, include equations and proofs of the\n",
      "concept you're teaching. As another example, if the topic is the history of the United States,\n",
      "include dates, names, and key events. If there are mathematical expressions use a correct LateX\n",
      "formatting. Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the\n",
      "beginning or conclusions the end.\n"
     ]
    }
   ],
   "source": [
    "print_in_lines(data.prompt[0], 100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We are currently writing the first chapter: \"Unit 1: Counting - Counting\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Counting with small numbers\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We are currently writing the first chapter: \"Unit 1: Counting - Counting\".\n",
      "We have already covered the following lessons in the current chapter: Counting with small numbers\".\n",
      "Write the new sub-unit titled \"Counting in order\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We have already covered chapter(s) \"1. Counting\" and are now writing a chapter on \"Unit 1: Counting - Numbers 0 to 120\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Number grid\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We have already covered chapter(s) \"1. Counting\" and are now writing a chapter on \"Unit 1: Counting - Numbers 0 to 120\".\n",
      "We have already covered the following lessons in the current chapter: Number grid\".\n",
      "Write the new sub-unit titled \"Missing numbers between 0 and 120\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We have already covered chapter(s) \"1. Counting\" and are now writing a chapter on \"Unit 1: Counting - Numbers 0 to 120\".\n",
      "We have already covered the following lessons in the current chapter: Number grid\", Missing numbers between 0 and 120\".\n",
      "Write the new sub-unit titled \"Counting by tens\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We have already covered chapter(s) \"1. Counting\", \"2. Numbers 0 to 120\" and are now writing a chapter on \"Unit 1: Counting - Counting objects\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Counting in pictures\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We have already covered chapter(s) \"1. Counting\", \"2. Numbers 0 to 120\" and are now writing a chapter on \"Unit 1: Counting - Counting objects\".\n",
      "We have already covered the following lessons in the current chapter: Counting in pictures\".\n",
      "Write the new sub-unit titled \"Counting objects 1\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We have already covered chapter(s) \"1. Counting\", \"2. Numbers 0 to 120\" and are now writing a chapter on \"Unit 1: Counting - Counting objects\".\n",
      "We have already covered the following lessons in the current chapter: Counting in pictures\", Counting objects 1\".\n",
      "Write the new sub-unit titled \"Counting objects 2\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We have already covered chapter(s) \"1. Counting\", \"2. Numbers 0 to 120\", \"3. Counting objects\" and are now writing a chapter on \"Unit 1: Counting - Comparing small numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Comparing numbers of objects\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We have already covered chapter(s) \"1. Counting\", \"2. Numbers 0 to 120\", \"3. Counting objects\" and are now writing a chapter on \"Unit 1: Counting - Comparing small numbers\".\n",
      "We have already covered the following lessons in the current chapter: Comparing numbers of objects\".\n",
      "Write the new sub-unit titled \"Comparing numbers on the number line\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\".\n",
      "We have already covered chapter(s) \"1. Counting\", \"2. Numbers 0 to 120\", \"3. Counting objects\" and are now writing a chapter on \"Unit 1: Counting - Comparing small numbers\".\n",
      "We have already covered the following lessons in the current chapter: Comparing numbers of objects\", Comparing numbers on the number line\".\n",
      "Write the new sub-unit titled \"Counting by category\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We are currently writing the first chapter: \"Unit 2: Addition and subtraction intro - What is addition? What is subtraction?\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Intro to addition\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We are currently writing the first chapter: \"Unit 2: Addition and subtraction intro - What is addition? What is subtraction?\".\n",
      "We have already covered the following lessons in the current chapter: Intro to addition\".\n",
      "Write the new sub-unit titled \"Intro to subtraction\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\" and are now writing a chapter on \"Unit 2: Addition and subtraction intro - Making small numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Making 5\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\" and are now writing a chapter on \"Unit 2: Addition and subtraction intro - Making 10\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Getting to 10 by filling boxes\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\" and are now writing a chapter on \"Unit 2: Addition and subtraction intro - Making 10\".\n",
      "We have already covered the following lessons in the current chapter: Getting to 10 by filling boxes\".\n",
      "Write the new sub-unit titled \"Adding to 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\", \"3. Making 10\" and are now writing a chapter on \"Unit 2: Addition and subtraction intro - Put together, take apart\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Add and subtract: pieces of fruit\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\", \"3. Making 10\" and are now writing a chapter on \"Unit 2: Addition and subtraction intro - Put together, take apart\".\n",
      "We have already covered the following lessons in the current chapter: Add and subtract: pieces of fruit\".\n",
      "Write the new sub-unit titled \"Addition and subtraction within 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\", \"3. Making 10\", \"4. Put together, take apart\" and are now writing a chapter on \"Unit 2: Addition and subtraction intro - Relate addition and subtraction\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Relating addition and subtraction\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\", \"3. Making 10\", \"4. Put together, take apart\", \"5. Relate addition and subtraction\" and are now writing a chapter on \"Unit 2: Addition and subtraction intro - Addition and subtraction word problems\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Addition word problems within 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction intro\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\", \"3. Making 10\", \"4. Put together, take apart\", \"5. Relate addition and subtraction\" and are now writing a chapter on \"Unit 2: Addition and subtraction intro - Addition and subtraction word problems\".\n",
      "We have already covered the following lessons in the current chapter: Addition word problems within 10\".\n",
      "Write the new sub-unit titled \"Subtraction word problems within 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Place value (tens and hundreds)\".\n",
      "We are currently writing the first chapter: \"Unit 3: Place value (tens and hundreds) - Teens\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Teens as sums with 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Place value (tens and hundreds)\".\n",
      "We are currently writing the first chapter: \"Unit 3: Place value (tens and hundreds) - Teens\".\n",
      "We have already covered the following lessons in the current chapter: Teens as sums with 10\".\n",
      "Write the new sub-unit titled \"Teen numbers: monkeys\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Place value (tens and hundreds)\".\n",
      "We have already covered chapter(s) \"1. Teens\" and are now writing a chapter on \"Unit 3: Place value (tens and hundreds) - Tens\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Intro to place value\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Place value (tens and hundreds)\".\n",
      "We have already covered chapter(s) \"1. Teens\" and are now writing a chapter on \"Unit 3: Place value (tens and hundreds) - Tens\".\n",
      "We have already covered the following lessons in the current chapter: Intro to place value\".\n",
      "Write the new sub-unit titled \"Place value example: 25\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Place value (tens and hundreds)\".\n",
      "We have already covered chapter(s) \"1. Teens\" and are now writing a chapter on \"Unit 3: Place value (tens and hundreds) - Tens\".\n",
      "We have already covered the following lessons in the current chapter: Intro to place value\", Place value example: 25\".\n",
      "Write the new sub-unit titled \"Place value example: 42\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Place value (tens and hundreds)\".\n",
      "We have already covered chapter(s) \"1. Teens\", \"2. Tens\" and are now writing a chapter on \"Unit 3: Place value (tens and hundreds) - Comparing 2-digit numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Greater than and less than symbols\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Place value (tens and hundreds)\".\n",
      "We have already covered chapter(s) \"1. Teens\", \"2. Tens\", \"3. Comparing 2-digit numbers\" and are now writing a chapter on \"Unit 3: Place value (tens and hundreds) - Hundreds\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Regrouping whole numbers: 675\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Place value (tens and hundreds)\".\n",
      "We have already covered chapter(s) \"1. Teens\", \"2. Tens\", \"3. Comparing 2-digit numbers\", \"4. Hundreds\" and are now writing a chapter on \"Unit 3: Place value (tens and hundreds) - Comparing three-digit numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Comparing whole numbers\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We are currently writing the first chapter: \"Unit 4: Addition and subtraction within 20 - Addition within 20\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Adding within 20 using place value blocks\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We are currently writing the first chapter: \"Unit 4: Addition and subtraction within 20 - Addition within 20\".\n",
      "We have already covered the following lessons in the current chapter: Adding within 20 using place value blocks\".\n",
      "Write the new sub-unit titled \"Adding within 20 using ten frames\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We are currently writing the first chapter: \"Unit 4: Addition and subtraction within 20 - Addition within 20\".\n",
      "We have already covered the following lessons in the current chapter: Adding within 20 using place value blocks\", Adding within 20 using ten frames\".\n",
      "Write the new sub-unit titled \"Adding 7 + 6\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We are currently writing the first chapter: \"Unit 4: Addition and subtraction within 20 - Addition within 20\".\n",
      "We have already covered the following lessons in the current chapter: Adding within 20 using place value blocks\", Adding within 20 using ten frames\", Adding 7 + 6\".\n",
      "Write the new sub-unit titled \"Adding 8 + 7\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We are currently writing the first chapter: \"Unit 4: Addition and subtraction within 20 - Addition within 20\".\n",
      "We have already covered the following lessons in the current chapter: Adding within 20 using place value blocks\", Adding within 20 using ten frames\", Adding 7 + 6\", Adding 8 + 7\".\n",
      "Write the new sub-unit titled \"Adding 5 + 3 + 6\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Subtraction within 20\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Subtract within 20 using a number line\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Subtraction within 20\".\n",
      "We have already covered the following lessons in the current chapter: Subtract within 20 using a number line\".\n",
      "Write the new sub-unit titled \"Subtract within 20 using place value blocks\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Subtraction within 20\".\n",
      "We have already covered the following lessons in the current chapter: Subtract within 20 using a number line\", Subtract within 20 using place value blocks\".\n",
      "Write the new sub-unit titled \"Subtract within 20 using ten frames\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Subtraction within 20\".\n",
      "We have already covered the following lessons in the current chapter: Subtract within 20 using a number line\", Subtract within 20 using place value blocks\", Subtract within 20 using ten frames\".\n",
      "Write the new sub-unit titled \"Subtracting 14 - 6\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\", \"2. Subtraction within 20\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Equal sign\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Equal sign\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\", \"2. Subtraction within 20\", \"3. Equal sign\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Missing number within 20\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Missing numbers in addition and subtraction\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\", \"2. Subtraction within 20\", \"3. Equal sign\", \"4. Missing number within 20\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Word problems within 20\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Addition and subtraction word problems: superheroes\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\", \"2. Subtraction within 20\", \"3. Equal sign\", \"4. Missing number within 20\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Word problems within 20\".\n",
      "We have already covered the following lessons in the current chapter: Addition and subtraction word problems: superheroes\".\n",
      "Write the new sub-unit titled \"Addition and subtraction word problems: gorillas\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\", \"2. Subtraction within 20\", \"3. Equal sign\", \"4. Missing number within 20\", \"5. Word problems within 20\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Word problems with \"more\" and \"fewer\"\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Comparison word problems: marbles\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\", \"2. Subtraction within 20\", \"3. Equal sign\", \"4. Missing number within 20\", \"5. Word problems within 20\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Word problems with \"more\" and \"fewer\"\".\n",
      "We have already covered the following lessons in the current chapter: Comparison word problems: marbles\".\n",
      "Write the new sub-unit titled \"Comparison word problems: roly-polies\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\", \"2. Subtraction within 20\", \"3. Equal sign\", \"4. Missing number within 20\", \"5. Word problems within 20\", \"6. Word problems with \"more\" and \"fewer\"\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Repeated addition\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Adding with arrays\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\", \"2. Subtraction within 20\", \"3. Equal sign\", \"4. Missing number within 20\", \"5. Word problems within 20\", \"6. Word problems with \"more\" and \"fewer\"\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Repeated addition\".\n",
      "We have already covered the following lessons in the current chapter: Adding with arrays\".\n",
      "Write the new sub-unit titled \"Using arrays in word problems\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 20\".\n",
      "We have already covered chapter(s) \"1. Addition within 20\", \"2. Subtraction within 20\", \"3. Equal sign\", \"4. Missing number within 20\", \"5. Word problems within 20\", \"6. Word problems with \"more\" and \"fewer\"\" and are now writing a chapter on \"Unit 4: Addition and subtraction within 20 - Repeated addition\".\n",
      "We have already covered the following lessons in the current chapter: Adding with arrays\", Using arrays in word problems\".\n",
      "Write the new sub-unit titled \"Repeated addition: haircuts\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We are currently writing the first chapter: \"Unit 5: Addition and subtraction within 100 - Skip-counting\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Skip-counting by 5s\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We are currently writing the first chapter: \"Unit 5: Addition and subtraction within 100 - Skip-counting\".\n",
      "We have already covered the following lessons in the current chapter: Skip-counting by 5s\".\n",
      "Write the new sub-unit titled \"Counting by 10s\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Adding 1s and 10s\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Adding 1 vs. adding 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Adding 1s and 10s\".\n",
      "We have already covered the following lessons in the current chapter: Adding 1 vs. adding 10\".\n",
      "Write the new sub-unit titled \"Understanding place value when adding tens\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Adding 1s and 10s\".\n",
      "We have already covered the following lessons in the current chapter: Adding 1 vs. adding 10\", Understanding place value when adding tens\".\n",
      "Write the new sub-unit titled \"Understanding place value when adding ones\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Subtracting 1s and 10s\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Subtracting 1 vs. subtracting 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Subtracting 1s and 10s\".\n",
      "We have already covered the following lessons in the current chapter: Subtracting 1 vs. subtracting 10\".\n",
      "Write the new sub-unit titled \"Subtracting 1s using place value\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Subtracting 1s and 10s\".\n",
      "We have already covered the following lessons in the current chapter: Subtracting 1 vs. subtracting 10\", Subtracting 1s using place value\".\n",
      "Write the new sub-unit titled \"Subtracting 10s using place value\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Intro to addition with 2-digit numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Adding 2-digit numbers without regrouping 1\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Intro to addition with 2-digit numbers\".\n",
      "We have already covered the following lessons in the current chapter: Adding 2-digit numbers without regrouping 1\".\n",
      "Write the new sub-unit titled \"Breaking apart 2-digit addition problems\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Intro to addition with 2-digit numbers\".\n",
      "We have already covered the following lessons in the current chapter: Adding 2-digit numbers without regrouping 1\", Breaking apart 2-digit addition problems\".\n",
      "Write the new sub-unit titled \"Regrouping to add 1-digit number\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Intro to addition with 2-digit numbers\".\n",
      "We have already covered the following lessons in the current chapter: Adding 2-digit numbers without regrouping 1\", Breaking apart 2-digit addition problems\", Regrouping to add 1-digit number\".\n",
      "Write the new sub-unit titled \"Adding by making a group of 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Intro to subtraction with 2-digit numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Subtracting 2-digit numbers without regrouping 1\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Intro to subtraction with 2-digit numbers\".\n",
      "We have already covered the following lessons in the current chapter: Subtracting 2-digit numbers without regrouping 1\".\n",
      "Write the new sub-unit titled \"Subtracting two-digit numbers without regrouping\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Intro to subtraction with 2-digit numbers\".\n",
      "We have already covered the following lessons in the current chapter: Subtracting 2-digit numbers without regrouping 1\", Subtracting two-digit numbers without regrouping\".\n",
      "Write the new sub-unit titled \"Subtracting a 1-digit number with regrouping\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Strategies for adding and subtracting within 100\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Adding 53+17 by making a group of 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Strategies for adding and subtracting within 100\".\n",
      "We have already covered the following lessons in the current chapter: Adding 53+17 by making a group of 10\".\n",
      "Write the new sub-unit titled \"Adding by making a group of 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Strategies for adding and subtracting within 100\".\n",
      "We have already covered the following lessons in the current chapter: Adding 53+17 by making a group of 10\", Adding by making a group of 10\".\n",
      "Write the new sub-unit titled \"Strategies for adding 2-digit numbers\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Strategies for adding and subtracting within 100\".\n",
      "We have already covered the following lessons in the current chapter: Adding 53+17 by making a group of 10\", Adding by making a group of 10\", Strategies for adding 2-digit numbers\".\n",
      "Write the new sub-unit titled \"Addition and subtraction with number lines\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Addition within 100\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Adding 2-digit numbers without regrouping\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Addition within 100\".\n",
      "We have already covered the following lessons in the current chapter: Adding 2-digit numbers without regrouping\".\n",
      "Write the new sub-unit titled \"Adding with regrouping\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Subtraction within 100\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Subtracting 2-digit numbers without regrouping 1\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Subtraction within 100\".\n",
      "We have already covered the following lessons in the current chapter: Subtracting 2-digit numbers without regrouping 1\".\n",
      "Write the new sub-unit titled \"Subtracting with regrouping (borrowing)\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems within 100\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Adding and subtracting on number line word problems\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems within 100\".\n",
      "We have already covered the following lessons in the current chapter: Adding and subtracting on number line word problems\".\n",
      "Write the new sub-unit titled \"Adding two digit numbers on a number line\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems within 100\".\n",
      "We have already covered the following lessons in the current chapter: Adding and subtracting on number line word problems\", Adding two digit numbers on a number line\".\n",
      "Write the new sub-unit titled \"Subtraction word problem: tennis balls\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems within 100\".\n",
      "We have already covered the following lessons in the current chapter: Adding and subtracting on number line word problems\", Adding two digit numbers on a number line\", Subtraction word problem: tennis balls\".\n",
      "Write the new sub-unit titled \"Addition word problem: horses\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems within 100\".\n",
      "We have already covered the following lessons in the current chapter: Adding and subtracting on number line word problems\", Adding two digit numbers on a number line\", Subtraction word problem: tennis balls\", Addition word problem: horses\".\n",
      "Write the new sub-unit titled \"Subtraction word problem: snow\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems within 100\".\n",
      "We have already covered the following lessons in the current chapter: Adding and subtracting on number line word problems\", Adding two digit numbers on a number line\", Subtraction word problem: tennis balls\", Addition word problem: horses\", Subtraction word problem: snow\".\n",
      "Write the new sub-unit titled \"Subtraction word problem: crayons\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\", \"9. Word problems within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems with \"more\" and \"fewer\" (within 100)\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Addition word problem: starfish\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\", \"9. Word problems within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems with \"more\" and \"fewer\" (within 100)\".\n",
      "We have already covered the following lessons in the current chapter: Addition word problem: starfish\".\n",
      "Write the new sub-unit titled \"Addition word problem: spots\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\", \"9. Word problems within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems with \"more\" and \"fewer\" (within 100)\".\n",
      "We have already covered the following lessons in the current chapter: Addition word problem: starfish\", Addition word problem: spots\".\n",
      "Write the new sub-unit titled \"Multi step addition word problem\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\", \"9. Word problems within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems with \"more\" and \"fewer\" (within 100)\".\n",
      "We have already covered the following lessons in the current chapter: Addition word problem: starfish\", Addition word problem: spots\", Multi step addition word problem\".\n",
      "Write the new sub-unit titled \"Subtraction word problem: basketball\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\", \"9. Word problems within 100\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Word problems with \"more\" and \"fewer\" (within 100)\".\n",
      "We have already covered the following lessons in the current chapter: Addition word problem: starfish\", Addition word problem: spots\", Multi step addition word problem\", Subtraction word problem: basketball\".\n",
      "Write the new sub-unit titled \"Multi-step subtraction word problem\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 100\".\n",
      "We have already covered chapter(s) \"1. Skip-counting\", \"2. Adding 1s and 10s\", \"3. Subtracting 1s and 10s\", \"4. Intro to addition with 2-digit numbers\", \"5. Intro to subtraction with 2-digit numbers\", \"6. Strategies for adding and subtracting within 100\", \"7. Addition within 100\", \"8. Subtraction within 100\", \"9. Word problems within 100\", \"10. Word problems with \"more\" and \"fewer\" (within 100)\" and are now writing a chapter on \"Unit 5: Addition and subtraction within 100 - Addition and subtraction missing value problems\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Missing numbers in addition and subtraction\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We are currently writing the first chapter: \"Unit 6: Addition and subtraction within 1000 - Skip counting by 100s\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Skip-counting by 100s\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Adding 1s, 10s, and 100s\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Adding 10 or 100\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Adding 1s, 10s, and 100s\".\n",
      "We have already covered the following lessons in the current chapter: Adding 10 or 100\".\n",
      "Write the new sub-unit titled \"Adding 1s, 10s, and 100s\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Adding 1s, 10s, and 100s\".\n",
      "We have already covered the following lessons in the current chapter: Adding 10 or 100\", Adding 1s, 10s, and 100s\".\n",
      "Write the new sub-unit titled \"Adding 3-digit numbers (no regrouping)\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\", \"2. Adding 1s, 10s, and 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Subtracting 1s, 10s, and 100s\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Subtracting 1, 10, or 100\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\", \"2. Adding 1s, 10s, and 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Subtracting 1s, 10s, and 100s\".\n",
      "We have already covered the following lessons in the current chapter: Subtracting 1, 10, or 100\".\n",
      "Write the new sub-unit titled \"Subtracting 1s, 10s, and 100s\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\", \"2. Adding 1s, 10s, and 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Subtracting 1s, 10s, and 100s\".\n",
      "We have already covered the following lessons in the current chapter: Subtracting 1, 10, or 100\", Subtracting 1s, 10s, and 100s\".\n",
      "Write the new sub-unit titled \"Subtracting 3-digit numbers (no regrouping)\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\", \"2. Adding 1s, 10s, and 100s\", \"3. Subtracting 1s, 10s, and 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Strategies for adding 2- and 3-digit numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Breaking apart 3-digit addition problems\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\", \"2. Adding 1s, 10s, and 100s\", \"3. Subtracting 1s, 10s, and 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Strategies for adding 2- and 3-digit numbers\".\n",
      "We have already covered the following lessons in the current chapter: Breaking apart 3-digit addition problems\".\n",
      "Write the new sub-unit titled \"Solving 3-digit addition in your head\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\", \"2. Adding 1s, 10s, and 100s\", \"3. Subtracting 1s, 10s, and 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Strategies for adding 2- and 3-digit numbers\".\n",
      "We have already covered the following lessons in the current chapter: Breaking apart 3-digit addition problems\", Solving 3-digit addition in your head\".\n",
      "Write the new sub-unit titled \"Addition using groups of 10 and 100\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\", \"2. Adding 1s, 10s, and 100s\", \"3. Subtracting 1s, 10s, and 100s\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Strategies for adding 2- and 3-digit numbers\".\n",
      "We have already covered the following lessons in the current chapter: Breaking apart 3-digit addition problems\", Solving 3-digit addition in your head\", Addition using groups of 10 and 100\".\n",
      "Write the new sub-unit titled \"Adding and subtracting on number line\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\", \"2. Adding 1s, 10s, and 100s\", \"3. Subtracting 1s, 10s, and 100s\", \"4. Strategies for adding 2- and 3-digit numbers\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Adding up to four 2-digit numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Adding four two digit numbers\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Addition and subtraction within 1000\".\n",
      "We have already covered chapter(s) \"1. Skip counting by 100s\", \"2. Adding 1s, 10s, and 100s\", \"3. Subtracting 1s, 10s, and 100s\", \"4. Strategies for adding 2- and 3-digit numbers\" and are now writing a chapter on \"Unit 6: Addition and subtraction within 1000 - Adding up to four 2-digit numbers\".\n",
      "We have already covered the following lessons in the current chapter: Adding four two digit numbers\".\n",
      "Write the new sub-unit titled \"Adding multiple 2-digit numbers word problems\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We are currently writing the first chapter: \"Unit 7: Measurement and data - Length and size\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Ordering by length\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\" and are now writing a chapter on \"Unit 7: Measurement and data - Measuring length\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Getting a sense of meters and centimeters\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\" and are now writing a chapter on \"Unit 7: Measurement and data - Measuring length\".\n",
      "We have already covered the following lessons in the current chapter: Getting a sense of meters and centimeters\".\n",
      "Write the new sub-unit titled \"Getting a sense of inches and feet\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\" and are now writing a chapter on \"Unit 7: Measurement and data - Measuring length\".\n",
      "We have already covered the following lessons in the current chapter: Getting a sense of meters and centimeters\", Getting a sense of inches and feet\".\n",
      "Write the new sub-unit titled \"Measuring in inches\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\" and are now writing a chapter on \"Unit 7: Measurement and data - Measuring length\".\n",
      "We have already covered the following lessons in the current chapter: Getting a sense of meters and centimeters\", Getting a sense of inches and feet\", Measuring in inches\".\n",
      "Write the new sub-unit titled \"Measuring lengths (cm, m)\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\" and are now writing a chapter on \"Unit 7: Measurement and data - Measuring length\".\n",
      "We have already covered the following lessons in the current chapter: Getting a sense of meters and centimeters\", Getting a sense of inches and feet\", Measuring in inches\", Measuring lengths (cm, m)\".\n",
      "Write the new sub-unit titled \"Measuring lengths with different units\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\" and are now writing a chapter on \"Unit 7: Measurement and data - Measuring length\".\n",
      "We have already covered the following lessons in the current chapter: Getting a sense of meters and centimeters\", Getting a sense of inches and feet\", Measuring in inches\", Measuring lengths (cm, m)\", Measuring lengths with different units\".\n",
      "Write the new sub-unit titled \"Measuring lengths in different units\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\" and are now writing a chapter on \"Unit 7: Measurement and data - Comparing and estimating length\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Comparing lengths\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\" and are now writing a chapter on \"Unit 7: Measurement and data - Comparing and estimating length\".\n",
      "We have already covered the following lessons in the current chapter: Comparing lengths\".\n",
      "Write the new sub-unit titled \"Estimating lengths\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\" and are now writing a chapter on \"Unit 7: Measurement and data - Length word problems\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Length word problem example (US Customary)\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\" and are now writing a chapter on \"Unit 7: Measurement and data - Length word problems\".\n",
      "We have already covered the following lessons in the current chapter: Length word problem example (US Customary)\".\n",
      "Write the new sub-unit titled \"Length word problems\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\" and are now writing a chapter on \"Unit 7: Measurement and data - Length word problems\".\n",
      "We have already covered the following lessons in the current chapter: Length word problem example (US Customary)\", Length word problems\".\n",
      "Write the new sub-unit titled \"Measuring length: golden statue\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\" and are now writing a chapter on \"Unit 7: Measurement and data - Picture graphs\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Picture graphs\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\" and are now writing a chapter on \"Unit 7: Measurement and data - Picture graphs\".\n",
      "We have already covered the following lessons in the current chapter: Picture graphs\".\n",
      "Write the new sub-unit titled \"Making picture graphs and line plots\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\" and are now writing a chapter on \"Unit 7: Measurement and data - Bar graphs\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Reading bar graphs: dog bones\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\" and are now writing a chapter on \"Unit 7: Measurement and data - Bar graphs\".\n",
      "We have already covered the following lessons in the current chapter: Reading bar graphs: dog bones\".\n",
      "Write the new sub-unit titled \"Reading bar graphs: bikes\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\" and are now writing a chapter on \"Unit 7: Measurement and data - Bar graphs\".\n",
      "We have already covered the following lessons in the current chapter: Reading bar graphs: dog bones\", Reading bar graphs: bikes\".\n",
      "Write the new sub-unit titled \"Creating picture and bar graphs\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\", \"6. Bar graphs\" and are now writing a chapter on \"Unit 7: Measurement and data - Line plots\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Read line plots\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\", \"6. Bar graphs\" and are now writing a chapter on \"Unit 7: Measurement and data - Line plots\".\n",
      "We have already covered the following lessons in the current chapter: Read line plots\".\n",
      "Write the new sub-unit titled \"Making picture graphs and line plots\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\", \"6. Bar graphs\", \"7. Line plots\" and are now writing a chapter on \"Unit 7: Measurement and data - Time\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Time on a number line\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\", \"6. Bar graphs\", \"7. Line plots\" and are now writing a chapter on \"Unit 7: Measurement and data - Time\".\n",
      "We have already covered the following lessons in the current chapter: Time on a number line\".\n",
      "Write the new sub-unit titled \"Telling time (labeled clock)\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\", \"6. Bar graphs\", \"7. Line plots\" and are now writing a chapter on \"Unit 7: Measurement and data - Time\".\n",
      "We have already covered the following lessons in the current chapter: Time on a number line\", Telling time (labeled clock)\".\n",
      "Write the new sub-unit titled \"Telling time (unlabeled clock)\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\", \"6. Bar graphs\", \"7. Line plots\", \"8. Time\" and are now writing a chapter on \"Unit 7: Measurement and data - Money\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Counting dollars\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Measurement and data\".\n",
      "We have already covered chapter(s) \"1. Length and size\", \"2. Measuring length\", \"3. Comparing and estimating length\", \"4. Length word problems\", \"5. Picture graphs\", \"6. Bar graphs\", \"7. Line plots\", \"8. Time\" and are now writing a chapter on \"Unit 7: Measurement and data - Money\".\n",
      "We have already covered the following lessons in the current chapter: Counting dollars\".\n",
      "Write the new sub-unit titled \"Counting American coins\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We are currently writing the first chapter: \"Unit 8: Geometry - Basic shapes\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Cousin Fal's shape collection\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We are currently writing the first chapter: \"Unit 8: Geometry - Basic shapes\".\n",
      "We have already covered the following lessons in the current chapter: Cousin Fal's shape collection\".\n",
      "Write the new sub-unit titled \"Recognizing shapes\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We are currently writing the first chapter: \"Unit 8: Geometry - Basic shapes\".\n",
      "We have already covered the following lessons in the current chapter: Cousin Fal's shape collection\", Recognizing shapes\".\n",
      "Write the new sub-unit titled \"Relative position\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We have already covered chapter(s) \"1. Basic shapes\" and are now writing a chapter on \"Unit 8: Geometry - Properties of shapes\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Cousin Fal's shape collection\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We have already covered chapter(s) \"1. Basic shapes\" and are now writing a chapter on \"Unit 8: Geometry - Properties of shapes\".\n",
      "We have already covered the following lessons in the current chapter: Cousin Fal's shape collection\".\n",
      "Write the new sub-unit titled \"Recognizing shapes\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We have already covered chapter(s) \"1. Basic shapes\" and are now writing a chapter on \"Unit 8: Geometry - Properties of shapes\".\n",
      "We have already covered the following lessons in the current chapter: Cousin Fal's shape collection\", Recognizing shapes\".\n",
      "Write the new sub-unit titled \"Shapes and angles\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We have already covered chapter(s) \"1. Basic shapes\", \"2. Properties of shapes\" and are now writing a chapter on \"Unit 8: Geometry - Composing shapes\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Composing shapes\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We have already covered chapter(s) \"1. Basic shapes\", \"2. Properties of shapes\", \"3. Composing shapes\" and are now writing a chapter on \"Unit 8: Geometry - Fractions of shapes\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Halves and fourths\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We have already covered chapter(s) \"1. Basic shapes\", \"2. Properties of shapes\", \"3. Composing shapes\" and are now writing a chapter on \"Unit 8: Geometry - Fractions of shapes\".\n",
      "We have already covered the following lessons in the current chapter: Halves and fourths\".\n",
      "Write the new sub-unit titled \"Equal parts of circles and rectangles\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Early math review - Geometry\".\n",
      "We have already covered chapter(s) \"1. Basic shapes\", \"2. Properties of shapes\", \"3. Composing shapes\" and are now writing a chapter on \"Unit 8: Geometry - Fractions of shapes\".\n",
      "We have already covered the following lessons in the current chapter: Halves and fourths\", Equal parts of circles and rectangles\".\n",
      "Write the new sub-unit titled \"Partitioning rectangles\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We are currently writing the first chapter: \"Unit 1: Counting and place value - Counting small numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Counting with small numbers\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We are currently writing the first chapter: \"Unit 1: Counting and place value - Counting small numbers\".\n",
      "We have already covered the following lessons in the current chapter: Counting with small numbers\".\n",
      "Write the new sub-unit titled \"Counting in order\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\" and are now writing a chapter on \"Unit 1: Counting and place value - Numbers 0 to 100\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Number grid\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\" and are now writing a chapter on \"Unit 1: Counting and place value - Numbers 0 to 100\".\n",
      "We have already covered the following lessons in the current chapter: Number grid\".\n",
      "Write the new sub-unit titled \"Missing numbers between 0 and 120\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\" and are now writing a chapter on \"Unit 1: Counting and place value - Numbers 0 to 100\".\n",
      "We have already covered the following lessons in the current chapter: Number grid\", Missing numbers between 0 and 120\".\n",
      "Write the new sub-unit titled \"Counting by tens\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\", \"2. Numbers 0 to 100\" and are now writing a chapter on \"Unit 1: Counting and place value - Counting objects\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Counting in pictures\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\", \"2. Numbers 0 to 100\" and are now writing a chapter on \"Unit 1: Counting and place value - Counting objects\".\n",
      "We have already covered the following lessons in the current chapter: Counting in pictures\".\n",
      "Write the new sub-unit titled \"Counting objects 1\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\", \"2. Numbers 0 to 100\" and are now writing a chapter on \"Unit 1: Counting and place value - Counting objects\".\n",
      "We have already covered the following lessons in the current chapter: Counting in pictures\", Counting objects 1\".\n",
      "Write the new sub-unit titled \"Counting objects 2\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\", \"2. Numbers 0 to 100\", \"3. Counting objects\" and are now writing a chapter on \"Unit 1: Counting and place value - Comparing small numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Comparing numbers of objects\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\", \"2. Numbers 0 to 100\", \"3. Counting objects\" and are now writing a chapter on \"Unit 1: Counting and place value - Comparing small numbers\".\n",
      "We have already covered the following lessons in the current chapter: Comparing numbers of objects\".\n",
      "Write the new sub-unit titled \"Comparing numbers on the number line\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\", \"2. Numbers 0 to 100\", \"3. Counting objects\" and are now writing a chapter on \"Unit 1: Counting and place value - Comparing small numbers\".\n",
      "We have already covered the following lessons in the current chapter: Comparing numbers of objects\", Comparing numbers on the number line\".\n",
      "Write the new sub-unit titled \"Counting by category\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\", \"2. Numbers 0 to 100\", \"3. Counting objects\", \"4. Comparing small numbers\" and are now writing a chapter on \"Unit 1: Counting and place value - Teens\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Teens as sums with 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Counting and place value\".\n",
      "We have already covered chapter(s) \"1. Counting small numbers\", \"2. Numbers 0 to 100\", \"3. Counting objects\", \"4. Comparing small numbers\" and are now writing a chapter on \"Unit 1: Counting and place value - Teens\".\n",
      "We have already covered the following lessons in the current chapter: Teens as sums with 10\".\n",
      "Write the new sub-unit titled \"Teen numbers: monkeys\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Addition and subtraction\".\n",
      "We are currently writing the first chapter: \"Unit 2: Addition and subtraction - What is addition? What is subtraction?\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Intro to addition\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Addition and subtraction\".\n",
      "We are currently writing the first chapter: \"Unit 2: Addition and subtraction - What is addition? What is subtraction?\".\n",
      "We have already covered the following lessons in the current chapter: Intro to addition\".\n",
      "Write the new sub-unit titled \"Intro to subtraction\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Addition and subtraction\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\" and are now writing a chapter on \"Unit 2: Addition and subtraction - Making small numbers\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Making 5\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Addition and subtraction\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\" and are now writing a chapter on \"Unit 2: Addition and subtraction - Making 10\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Getting to 10 by filling boxes\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Addition and subtraction\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\" and are now writing a chapter on \"Unit 2: Addition and subtraction - Making 10\".\n",
      "We have already covered the following lessons in the current chapter: Getting to 10 by filling boxes\".\n",
      "Write the new sub-unit titled \"Adding to 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Addition and subtraction\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\", \"3. Making 10\" and are now writing a chapter on \"Unit 2: Addition and subtraction - Put together, take apart\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Add and subtract: pieces of fruit\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Addition and subtraction\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\", \"3. Making 10\" and are now writing a chapter on \"Unit 2: Addition and subtraction - Put together, take apart\".\n",
      "We have already covered the following lessons in the current chapter: Add and subtract: pieces of fruit\".\n",
      "Write the new sub-unit titled \"Addition and subtraction within 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Addition and subtraction\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\", \"3. Making 10\", \"4. Put together, take apart\" and are now writing a chapter on \"Unit 2: Addition and subtraction - Addition and subtraction word problems\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Addition word problems within 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Addition and subtraction\".\n",
      "We have already covered chapter(s) \"1. What is addition? What is subtraction?\", \"2. Making small numbers\", \"3. Making 10\", \"4. Put together, take apart\" and are now writing a chapter on \"Unit 2: Addition and subtraction - Addition and subtraction word problems\".\n",
      "We have already covered the following lessons in the current chapter: Addition word problems within 10\".\n",
      "Write the new sub-unit titled \"Subtraction word problems within 10\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n",
      "Write a long and very detailed course unit for a textbook on \"Kindergarten - Measurement and geometry\".\n",
      "We have already covered chapter(s) \"1. Comparing size\" and are now writing a chapter on \"Unit 3: Measurement and geometry - Basic shapes\".\n",
      "You will be writing the first lesson for this chapter.\n",
      "Write the new sub-unit titled \"Cousin Fal's shape collection\" while trying to be:\n",
      "- Rigorous - you create challenging textbooks that cover the material in depth.\n",
      "- Engaging - your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis.\n",
      "- Applied - you use specific and practical examples. For example, if the topic is integration in calculus, include equations and proofs of the concept you're teaching. As another example, if the topic is the history of the United States, include dates, names, and key events.\n",
      "Do not include a title or an introduction, simply write the content without headlines and introductory phrases. Focus purely on the subject itself without offering advice on teaching and instruction.\n",
      "----------\n"
     ]
    }
   ],
   "source": [
    "for index, prompt in enumerate(data.prompt):\n",
    "    # print_in_lines(prompt, 100)\n",
    "    print(prompt)\n",
    "    print('----------')\n",
    "\n",
    "    if index > 150:\n",
    "        break"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\". We are\n",
      "currently writing the first chapter: \"Unit 1: Counting - Counting\". You will be writing the first\n",
      "lesson for this chapter. Write the new sub-unit titled \"Counting with small numbers\" while trying to\n",
      "be: - Rigorous - you create challenging textbooks that cover the material in depth. - Engaging -\n",
      "your textbooks have a narrative arc and engaging tone, like the writing of Michael Lewis. - Applied\n",
      "- you use specific and practical examples. For example, if the topic is integration in calculus,\n",
      "include equations and proofs of the concept you're teaching. As another example, if the topic is the\n",
      "history of the United States, include dates, names, and key events. Do not include a title or an\n",
      "introduction, simply write the content without headlines and introductory phrases. Focus purely on\n",
      "the subject itself without offering advice on teaching and instruction.\n"
     ]
    }
   ],
   "source": [
    "print_in_lines(data.prompt[0], 100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Write a long and very detailed course unit for a textbook on \"Early math review - Counting\". We have\n",
      "already covered chapter(s) \"1. Counting\" and are now writing a chapter on \"Unit 1: Counting -\n",
      "Numbers 0 to 120\". You will be writing the first lesson for this chapter. Write the new sub-unit\n",
      "titled \"Number grid\" while trying to be: - Rigorous - you create challenging textbooks that cover\n",
      "the material in depth. - Engaging - your textbooks have a narrative arc and engaging tone, like the\n",
      "writing of Michael Lewis. - Applied - you use specific and practical examples. For example, if the\n",
      "topic is integration in calculus, include equations and proofs of the concept you're teaching. As\n",
      "another example, if the topic is the history of the United States, include dates, names, and key\n",
      "events. Do not include a title or an introduction, simply write the content without headlines and\n",
      "introductory phrases. Focus purely on the subject itself without offering advice on teaching and\n",
      "instruction.\n"
     ]
    }
   ],
   "source": [
    "print_in_lines(data.prompt[2], 100)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 把bigsurvey转为输入形式"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "bigsurvey_dir = dataset_dir.parent / 'bigsurvey/MDS_truncated'\n",
    "\n",
    "source_file, target_file = bigsurvey_dir / 'test_truncate.src.txt', bigsurvey_dir / 'test_truncate.tgt.txt'\n",
    "\n",
    "for index, (source, target) in enumerate(zip(source_file.read_text().split('\\n'), target_file.read_text().split('\\n')), 1):\n",
    "    output_file = bigsurvey_dir / 'inputs' / f'test_{index}'\n",
    "    target_file = bigsurvey_dir / 'summary' / f'test_{index}'\n",
    "    paras = [json.dumps({\n",
    "        'text': text,\n",
    "        'position': 'x'\n",
    "    }) for text in source.split('story_separator_special_tag')]    \n",
    "\n",
    "    output_file.write_text('\\n'.join(paras))\n",
    "    target_file.write_text(target)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## OpenStax"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "from pathlib import Path\n",
    "import re\n",
    "\n",
    "def print_in_lines(text, line_length):\n",
    "    words        = text.split()\n",
    "    lines        = []\n",
    "    current_line = ''\n",
    "    for word in words:\n",
    "        if len(current_line + word) <= line_length:\n",
    "            current_line = current_line + word + ' '\n",
    "        else:\n",
    "            lines.append(current_line.strip())\n",
    "            current_line = word + ' '\n",
    "    lines.append(current_line.strip())\n",
    "    for line in lines:\n",
    "        print(line)\n",
    "\n",
    "dataset_dir = Path(r'H:\\2024_03_05课程大纲\\数据\\syllabus\\datasets\\cosmopedia')\n",
    "data = pd.read_parquet(dataset_dir / 'openstax' / 'train-00000-of-00002.parquet')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>text_token_length</th>\n",
       "      <th>prompt</th>\n",
       "      <th>text</th>\n",
       "      <th>seed_data</th>\n",
       "      <th>format</th>\n",
       "      <th>audience</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1203</td>\n",
       "      <td>Write a comprehensive and in-depth textbook on...</td>\n",
       "      <td>**Global Stratification**\\n\\n*Global stratifi...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>textbook_academic</td>\n",
       "      <td>college_studnets</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1174</td>\n",
       "      <td>Write a comprehensive and in-depth textbook on...</td>\n",
       "      <td>**Unit: Calculating Keynesian Policy Interven...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>textbook_academic</td>\n",
       "      <td>college_studnets</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>590</td>\n",
       "      <td>Create a fun and simple e-learning module on '...</td>\n",
       "      <td>Title: A Fun Adventure with Jobs the Turtle!\\...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>e-learning_module</td>\n",
       "      <td>young_children</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1422</td>\n",
       "      <td>Write a comprehensive and in-depth textbook on...</td>\n",
       "      <td>**8. Operations and Management Plan**\\n\\nIn t...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>textbook_academic</td>\n",
       "      <td>college_studnets</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>489</td>\n",
       "      <td>Write a comprehensive and in-depth textbook on...</td>\n",
       "      <td>III. Application (10-25 min)\\n\\nA. Analyzing ...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>textbook_academic</td>\n",
       "      <td>college_studnets</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1104</td>\n",
       "      <td>Create an extract of a scientific journal arti...</td>\n",
       "      <td>**The Bohr Atom: A Revolutionary Model Reeval...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>scientific_article</td>\n",
       "      <td>researchers</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>730</td>\n",
       "      <td>Create an engaging and accessible e-learning m...</td>\n",
       "      <td>Once upon a time, there was a young inventor ...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>e-learning_module</td>\n",
       "      <td>middle_school_students</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>833</td>\n",
       "      <td>Create an extract of a scientific journal arti...</td>\n",
       "      <td>Introduction\\n\\nIn this unit, we delve into t...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>scientific_article</td>\n",
       "      <td>researchers</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>974</td>\n",
       "      <td>Create an extract of a scientific journal arti...</td>\n",
       "      <td>**Unit Title:** Oxygenic and Anoxygenic Photo...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>scientific_article</td>\n",
       "      <td>researchers</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>525</td>\n",
       "      <td>Create a fun and simple e-learning module on '...</td>\n",
       "      <td>Welcome to \"Nature vs. Nurture: The Great Squ...</td>\n",
       "      <td>openstax</td>\n",
       "      <td>e-learning_module</td>\n",
       "      <td>young_children</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   text_token_length                                             prompt  \\\n",
       "0               1203  Write a comprehensive and in-depth textbook on...   \n",
       "1               1174  Write a comprehensive and in-depth textbook on...   \n",
       "2                590  Create a fun and simple e-learning module on '...   \n",
       "3               1422  Write a comprehensive and in-depth textbook on...   \n",
       "4                489  Write a comprehensive and in-depth textbook on...   \n",
       "5               1104  Create an extract of a scientific journal arti...   \n",
       "6                730  Create an engaging and accessible e-learning m...   \n",
       "7                833  Create an extract of a scientific journal arti...   \n",
       "8                974  Create an extract of a scientific journal arti...   \n",
       "9                525  Create a fun and simple e-learning module on '...   \n",
       "\n",
       "                                                text seed_data  \\\n",
       "0   **Global Stratification**\\n\\n*Global stratifi...  openstax   \n",
       "1   **Unit: Calculating Keynesian Policy Interven...  openstax   \n",
       "2   Title: A Fun Adventure with Jobs the Turtle!\\...  openstax   \n",
       "3   **8. Operations and Management Plan**\\n\\nIn t...  openstax   \n",
       "4   III. Application (10-25 min)\\n\\nA. Analyzing ...  openstax   \n",
       "5   **The Bohr Atom: A Revolutionary Model Reeval...  openstax   \n",
       "6   Once upon a time, there was a young inventor ...  openstax   \n",
       "7   Introduction\\n\\nIn this unit, we delve into t...  openstax   \n",
       "8   **Unit Title:** Oxygenic and Anoxygenic Photo...  openstax   \n",
       "9   Welcome to \"Nature vs. Nurture: The Great Squ...  openstax   \n",
       "\n",
       "               format                audience  \n",
       "0   textbook_academic        college_studnets  \n",
       "1   textbook_academic        college_studnets  \n",
       "2   e-learning_module          young_children  \n",
       "3   textbook_academic        college_studnets  \n",
       "4   textbook_academic        college_studnets  \n",
       "5  scientific_article             researchers  \n",
       "6   e-learning_module  middle_school_students  \n",
       "7  scientific_article             researchers  \n",
       "8  scientific_article             researchers  \n",
       "9   e-learning_module          young_children  "
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.head(10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Write a comprehensive and in-depth textbook on 'Introduction to Sociology 3e', tailored for college\n",
      "students. We are writing on chapter 'Global Inequality'. In particular, section 'Global\n",
      "Stratification and Classification'. Write a new unit titled 'Global Stratification'. Here's some\n",
      "text for inspiration: While stratification in the United States refers to the unequal distribution\n",
      "of resources among individuals, global stratification refers to this unequal distribution among\n",
      "nations. There are two dimensions to this stratification: gaps between nations and gaps within\n",
      "nations. When it comes to global inequality, both economic inequality and social inequality may\n",
      "concentrate the burden of poverty among certain segments of the earth’s population (Myrdal 1970).\n",
      "Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write\n",
      "with an academic and engaging tone that captivates interest. - Applied: Use specific and practical\n",
      "examples. For example, if the topic is integration in calculus, include equations and proofs of the\n",
      "concept you're teaching. As another example, if the topic is the history of the United States,\n",
      "include dates, names, and key events. If there are mathematical expressions use a correct LateX\n",
      "formatting. Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the\n",
      "beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Principles of Macroeconomics for AP® Courses 2e',\n",
      "tailored for college students. We are writing on chapter 'The Keynesian Perspective'. In particular,\n",
      "section 'The Expenditure-Output (or Keynesian Cross) Model'. We have already covered the following\n",
      "unit in this section: 'The Axes of the Expenditure-Output Diagram'. We have already covered the\n",
      "following units in this section: 'The Axes of the Expenditure-Output Diagram', 'The Potential GDP\n",
      "Line and the 45-degree Line'. We have already covered the following units in this section: 'The Axes\n",
      "of the Expenditure-Output Diagram', 'The Potential GDP Line and the 45-degree Line', 'The Aggregate\n",
      "Expenditure Schedule'. We have already covered the following units in this section: 'The Axes of the\n",
      "Expenditure-Output Diagram', 'The Potential GDP Line and the 45-degree Line', 'The Aggregate\n",
      "Expenditure Schedule', 'Building the Aggregate Expenditure Schedule'. We have already covered the\n",
      "following units in this section: 'The Axes of the Expenditure-Output Diagram', 'The Potential GDP\n",
      "Line and the 45-degree Line', 'The Aggregate Expenditure Schedule', 'Building the Aggregate\n",
      "Expenditure Schedule', 'Consumption as a Function of National Income'. We have already covered the\n",
      "following units in this section: 'The Potential GDP Line and the 45-degree Line', 'The Potential GDP\n",
      "Line and the 45-degree Line', 'Investment as a Function of National Income'. We have already covered\n",
      "the following units in this section: 'Government Spending and Taxes as a Function of National\n",
      "Income', 'Investment as a Function of National Income', 'Investment as a Function of National\n",
      "Income', 'Investment as a Function of National Income', 'The Potential GDP Line and the 45-degree\n",
      "Line'. We have already covered the following units in this section: 'Investment as a Function of\n",
      "National Income', 'The Aggregate Expenditure Schedule', 'Building the Aggregate Expenditure\n",
      "Schedule', 'The Potential GDP Line and the 45-degree Line', 'The Potential GDP Line and the\n",
      "45-degree Line'. We have already covered the following units in this section: 'Investment as a\n",
      "Function of National Income', 'The Aggregate Expenditure Schedule', 'Government Spending and Taxes\n",
      "as a Function of National Income'. We have already covered the following units in this section:\n",
      "'Building the Aggregate Expenditure Schedule', 'Consumption as a Function of National Income'. We\n",
      "have already covered the following units in this section: 'Equilibrium in the Keynesian Cross\n",
      "Model', 'The Axes of the Expenditure-Output Diagram'. We have already covered the following units in\n",
      "this section: 'Recessionary and Inflationary Gaps', 'Building the Aggregate Expenditure Schedule'.\n",
      "We have already covered the following units in this section: 'The Aggregate Expenditure Schedule',\n",
      "'Where Equilibrium Occurs', 'Government Spending and Taxes as a Function of National Income', 'The\n",
      "Axes of the Expenditure-Output Diagram'. We have already covered the following units in this\n",
      "section: 'Where Equilibrium Occurs', 'Recessionary and Inflationary Gaps'. We have already covered\n",
      "the following units in this section: 'The Multiplier Effect', 'Consumption as a Function of National\n",
      "Income', 'Exports and Imports as a Function of National Income', 'Calculating the Multiplier',\n",
      "'Building the Aggregate Expenditure Schedule'. Write a new unit titled 'Calculating Keynesian Policy\n",
      "Interventions'. Here's some text for inspiration: Returning to the original question: How much\n",
      "should government spending be increased to produce a total increase in real GDP of \\$100? If the\n",
      "goal is to increase aggregate demand by \\$100, and the multiplier is 2.13, then the increase in\n",
      "government spending to achieve that goal would be \\$100/2.13 = \\$47. Government spending of\n",
      "approximately \\$47, when combined with a multiplier of 2.13 (which is, remember, based on the\n",
      "specific assumptions about tax, saving, and import rates), produces an overall increase in real GDP\n",
      "of \\$100, restoring the economy to potential GDP of \\$800, as [link] shows. Try to be: - Rigorous:\n",
      "Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and\n",
      "engaging tone that captivates interest. - Applied: Use specific and practical examples. For example,\n",
      "if the topic is integration in calculus, include equations and proofs of the concept you're\n",
      "teaching. As another example, if the topic is the history of the United States, include dates,\n",
      "names, and key events. If there are mathematical expressions use a correct LateX formatting. Do not\n",
      "use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Principles of Macroeconomics 3e', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'Unemployment'. In particular, section 'What Causes Changes in Unemployment\n",
      "over the Long Run'. We have already covered the following unit in this section: 'The Long Run: The\n",
      "Natural Rate of Unemployment'. We have already covered the following units in this section: 'The\n",
      "Long Run: The Natural Rate of Unemployment', 'Frictional Unemployment'. We have already covered the\n",
      "following units in this section: 'The Long Run: The Natural Rate of Unemployment', 'Frictional\n",
      "Unemployment', 'Structural Unemployment'. We have already covered the following units in this\n",
      "section: 'The Long Run: The Natural Rate of Unemployment', 'Frictional Unemployment', 'Structural\n",
      "Unemployment', 'Natural Unemployment and Potential Real GDP'. We have already covered the following\n",
      "units in this section: 'The Long Run: The Natural Rate of Unemployment', 'Frictional Unemployment',\n",
      "'Structural Unemployment', 'Natural Unemployment and Potential Real GDP', 'Productivity Shifts and\n",
      "the Natural Rate of Unemployment'. We have already covered the following units in this section: 'The\n",
      "Long Run: The Natural Rate of Unemployment', 'Frictional Unemployment', 'Public Policy and the\n",
      "Natural Rate of Unemployment', 'Productivity Shifts and the Natural Rate of Unemployment',\n",
      "'Structural Unemployment'. We have already covered the following units in this section: 'The Natural\n",
      "Rate of Unemployment in Recent Years', 'Structural Unemployment', 'The Long Run: The Natural Rate of\n",
      "Unemployment', 'The Natural Rate of Unemployment in Recent Years'. We have already covered the\n",
      "following units in this section: 'The Natural Rate of Unemployment in Europe', 'Structural\n",
      "Unemployment', 'The Long Run: The Natural Rate of Unemployment'. Write a new unit titled 'A Preview\n",
      "of Policies to Fight Unemployment'. Here's some text for inspiration: The Government Budgets and\n",
      "Fiscal Policy and Macroeconomic Policy Around the World chapters provide a detailed discussion of\n",
      "how to fight unemployment, when we can discuss these policies in the context of the full array of\n",
      "macroeconomic goals and frameworks for analysis. However, even at this preliminary stage, it is\n",
      "useful to preview the main issues concerning policies to fight unemployment. In this module for\n",
      "young children, aim to: - Use very simple, everyday words and phrases that a 5-year-old would easily\n",
      "understand, avoiding any complex concepts or technical terms. - Tell a short, engaging story with\n",
      "colorful cartoon characters. For instance, to illustrate economic trade concepts use characters like\n",
      "animals or friendly creatures trading snacks or toys. Another example is addition and calculus, use\n",
      "apples to explain: '2 apples + 3 apples = 5 apples' . - Keep the tone light, cheerful, and\n",
      "encouraging. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Entrepreneurship', tailored for college students. We\n",
      "are writing on chapter 'Business Model and Plan'. In particular, section 'The Business Plan'. We\n",
      "have already covered the following unit in this section: 'Business Plan Overview'. We have already\n",
      "covered the following units in this section: 'Business Plan Overview', 'Purposes of a Business\n",
      "Plan'. We have already covered the following units in this section: 'Business Plan Overview',\n",
      "'Purposes of a Business Plan', 'Types of Business Plans'. We have already covered the following\n",
      "units in this section: 'Business Plan Overview', 'Purposes of a Business Plan', 'Types of Business\n",
      "Plans', 'Industry Analysis and Market Strategies'. We have already covered the following units in\n",
      "this section: 'Business Plan Overview', 'Purposes of a Business Plan', 'Types of Business Plans',\n",
      "'Industry Analysis and Market Strategies', 'Competitive Analysis'. Write a new unit titled\n",
      "'Operations and Management Plan'. Here's some text for inspiration: In this section, outline how you\n",
      "will manage your company. Describe its organizational structure. Here you can address the form of\n",
      "ownership and, if warranted, include an organizational chart/structure. Highlight the backgrounds,\n",
      "experiences, qualifications, areas of expertise, and roles of members of the management team. This\n",
      "is also the place to mention any other stakeholders, such as a board of directors or advisory\n",
      "board(s), and their relevant relationship to the founder, experience and value to help make the\n",
      "venture successful, and professional service firms providing management support,. Try to be: -\n",
      "Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an\n",
      "academic and engaging tone that captivates interest. - Applied: Use specific and practical examples.\n",
      "For example, if the topic is integration in calculus, include equations and proofs of the concept\n",
      "you're teaching. As another example, if the topic is the history of the United States, include\n",
      "dates, names, and key events. If there are mathematical expressions use a correct LateX formatting.\n",
      "Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Life, Liberty, and the Pursuit of Happiness',\n",
      "tailored for college students. We are writing on chapter '1763–1800'. In particular, section '📝 The\n",
      "Path to Independence' of '1763–1789' part. We have already covered the following units in this\n",
      "section: 'I. Warm-Up Activity (10 min)', 'II. Exploration (40 min)'. Write a new unit titled 'III.\n",
      "Application (10–25 min)'. Here's some text for inspiration: Once each group has presented, allow\n",
      "students about five minutes to answer the following questions individually, filling in **Handout I:\n",
      "Discussion Questions and Exit Ticket**:. Try to be: - Rigorous: Ensure very detailed and in-depth\n",
      "coverage of the concepts. - Engaging: Write with an academic and engaging tone that captivates\n",
      "interest. - Applied: Use specific and practical examples. For example, if the topic is integration\n",
      "in calculus, include equations and proofs of the concept you're teaching. As another example, if the\n",
      "topic is the history of the United States, include dates, names, and key events. If there are\n",
      "mathematical expressions use a correct LateX formatting. Do not use images and avoid introductory\n",
      "phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Astronomy 2e', tailored for professionals and\n",
      "researchers on the topic. We are writing on chapter 'Radiation and Spectra'. In particular, section\n",
      "'The Structure of the Atom'. We have already covered the following unit in this section: 'Probing\n",
      "the Atom'. We have already covered the following units in this section: 'Probing the Atom', 'The\n",
      "Atomic Nucleus'. Write a new unit titled 'The Bohr Atom'. The style should mirror that of a\n",
      "scholarly publication, not school textbooks, aiming to engage a highly knowledgeable audience with\n",
      "very deep expertise. Try to: - Present advanced theories, using technical and academic language. -\n",
      "Include critical analysis of recent research findings and debates in the field, with a detailed\n",
      "examination of empirical data and statistical methodologies. - The article should reflect the depth\n",
      "and complexity of content found in top-tier economics journals, intended for a readership deeply\n",
      "entrenched in the field. - Do not add come up with references or add them at the end of the article.\n",
      "If there are mathematical expressions use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'College Physics 2e', tailored for middle\n",
      "school students without prior knowledge on the topic. We are writing on chapter 'Medical\n",
      "Applications of Nuclear Physics'. In particular, section 'Biological Effects of Ionizing Radiation'.\n",
      "We have already covered the following unit in this section: 'Radiation Protection'. We have already\n",
      "covered the following units in this section: 'Radiation Protection', 'Problem-Solving Strategy'.\n",
      "Write a new unit titled 'Risk versus Benefit'. Instead of a traditional textbook approach, use a\n",
      "story-based narrative to explain the concept. Try to: - Avoid technical jargon and present the ideas\n",
      "in a straightforward, conversational tone to spark curiosity and relate to the experiences of a\n",
      "younger audience. - Include interactive elements like thought experiments and real-life scenarios.\n",
      "The goal is to topic approachable and fun, sparking curiosity about how it applies to everyday life.\n",
      "- Do not use introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the\n",
      "end. Do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Introduction to Philosophy', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Normative Moral Theory'. In\n",
      "particular, section 'Daoism'. We have already covered the following unit in this section: 'The Dao'.\n",
      "We have already covered the following units in this section: 'The Dao', 'Wu Wei'. Write a new unit\n",
      "titled 'Daoist, Mohist, and Confucian Ethics'. Here's some text for inspiration: Daoism, Mohism, and\n",
      "Confucianism were created in response to widespread social unrest, conflict, and suffering. All\n",
      "three aim to end suffering and promote harmony. Daoism’s approach is unlike either Mohism or\n",
      "Confucianism in important respects. Daoists reject traditional morality because it promotes a way of\n",
      "life that supports acting against the natural way or against the flow of nature. They therefore\n",
      "reject the Mohist and Confucian affirmation of traditional moral norms. Daoists believe social norms\n",
      "and practices won’t solve our problems, because they promote a way of life that is unnatural. The\n",
      "style should mirror that of a scholarly publication, not school textbooks, aiming to engage a highly\n",
      "knowledgeable audience with very deep expertise. Try to: - Present advanced theories, using\n",
      "technical and academic language. - Include critical analysis of recent research findings and debates\n",
      "in the field, with a detailed examination of empirical data and statistical methodologies. - The\n",
      "article should reflect the depth and complexity of content found in top-tier economics journals,\n",
      "intended for a readership deeply entrenched in the field. - Do not add come up with references or\n",
      "add them at the end of the article. If there are mathematical expressions use a correct LateX\n",
      "formatting and do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Microbiology', tailored for professionals and\n",
      "researchers on the topic. We are writing on chapter 'Microbial Metabolism'. In particular, section\n",
      "'Photosynthesis'. We have already covered the following unit in this section: 'Photosynthetic\n",
      "Structures in Eukaryotes and Prokaryotes'. Write a new unit titled 'Oxygenic and Anoxygenic\n",
      "Photosynthesis'. The style should mirror that of a scholarly publication, not school textbooks,\n",
      "aiming to engage a highly knowledgeable audience with very deep expertise. Try to: - Present\n",
      "advanced theories, using technical and academic language. - Include critical analysis of recent\n",
      "research findings and debates in the field, with a detailed examination of empirical data and\n",
      "statistical methodologies. - The article should reflect the depth and complexity of content found in\n",
      "top-tier economics journals, intended for a readership deeply entrenched in the field. - Do not add\n",
      "come up with references or add them at the end of the article. If there are mathematical expressions\n",
      "use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Introduction to Sociology 3e', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'Socialization'. In particular, section 'Why Socialization Matters'. Write a\n",
      "new unit titled 'Nature versus Nurture'. Here's some text for inspiration: Some experts assert that\n",
      "who we are is a result of nurture—the relationships and caring that surround us. Others argue that\n",
      "who we are is based entirely in genetics. According to this belief, our temperaments, interests, and\n",
      "talents are set before birth. From this perspective, then, who we are depends on nature. In this\n",
      "module for young children, aim to: - Use very simple, everyday words and phrases that a 5-year-old\n",
      "would easily understand, avoiding any complex concepts or technical terms. - Tell a short, engaging\n",
      "story with colorful cartoon characters. For instance, to illustrate economic trade concepts use\n",
      "characters like animals or friendly creatures trading snacks or toys. Another example is addition\n",
      "and calculus, use apples to explain: '2 apples + 3 apples = 5 apples' . - Keep the tone light,\n",
      "cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Principles of Microeconomics 3e', tailored\n",
      "for professionals and researchers on the topic. We are writing on chapter 'Choice in a World of\n",
      "Scarcity'. In particular, section 'How Individuals Make Choices Based on Their Budget Constraint'.\n",
      "We have already covered the following unit in this section: 'The Concept of Opportunity Cost'. We\n",
      "have already covered the following units in this section: 'The Concept of Opportunity Cost',\n",
      "'Identifying Opportunity Cost'. Write a new unit titled 'Marginal Decision-Making and Diminishing\n",
      "Marginal Utility'. The style should mirror that of a scholarly publication, not school textbooks,\n",
      "aiming to engage a highly knowledgeable audience with very deep expertise. Try to: - Present\n",
      "advanced theories, using technical and academic language. - Include critical analysis of recent\n",
      "research findings and debates in the field, with a detailed examination of empirical data and\n",
      "statistical methodologies. - The article should reflect the depth and complexity of content found in\n",
      "top-tier economics journals, intended for a readership deeply entrenched in the field. - Do not add\n",
      "come up with references or add them at the end of the article. If there are mathematical expressions\n",
      "use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Introduction to Intellectual Property',\n",
      "tailored for professionals and researchers on the topic. We are writing on chapter 'Trademark\n",
      "Basics'. In particular, section 'The Subject Matter of Trademarks'. We have already covered the\n",
      "following unit in this section: 'Words, Phrases, and Names'. Write a new unit titled 'Symbols and\n",
      "Devices'. Here's some text for inspiration: Symbols and devices are where things start to get\n",
      "interesting in trademark law. The language of the Lanham Act does not specify what is meant by a\n",
      "“symbol” or a “device” that can be trademarked. The U.S. Supreme Court took careful note of that\n",
      "fact, ruling in 1995 that, “Since human beings might use as a ‘symbol’ or ‘device’ almost anything\n",
      "at all that is capable of carrying meaning, this language, read literally, is not\n",
      "restrictive.”[footnote] *Qualitex Co. v. Jacobson Products Co.*, 514 U.S. 159, 7 (1995) Retrieved\n",
      "from: http://www.todaysengineer.org/2003/Feb/files/514U.S.159.pdf. The style should mirror that of a\n",
      "scholarly publication, not school textbooks, aiming to engage a highly knowledgeable audience with\n",
      "very deep expertise. Try to: - Present advanced theories, using technical and academic language. -\n",
      "Include critical analysis of recent research findings and debates in the field, with a detailed\n",
      "examination of empirical data and statistical methodologies. - The article should reflect the depth\n",
      "and complexity of content found in top-tier economics journals, intended for a readership deeply\n",
      "entrenched in the field. - Do not add come up with references or add them at the end of the article.\n",
      "If there are mathematical expressions use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Introduction to Business', tailored for college\n",
      "students. We are writing on chapter 'Your Career in Business'. In particular, section 'Get Your\n",
      "Career Off on the Right Track'. We have already covered the following unit in this section: 'Think\n",
      "Positively'. We have already covered the following units in this section: 'Think Positively', 'Take\n",
      "a Good Look at Yourself'. We have already covered the following units in this section: 'Think\n",
      "Positively', 'Take a Good Look at Yourself', 'Understand What Employers Want'. We have already\n",
      "covered the following units in this section: 'Think Positively', 'Take a Good Look at Yourself',\n",
      "'Understand What Employers Want', 'Find Your First Professional Job'. We have already covered the\n",
      "following units in this section: 'Think Positively', 'Take a Good Look at Yourself', 'Understand\n",
      "What Employers Want', 'Find Your First Professional Job', 'Use the Internet to Find a Job'. Write a\n",
      "new unit titled 'The Multimedia Résumé'. Here's some text for inspiration: If you are going to\n",
      "become a computer programmer, web developer, graphics designer, artist, sculptor, singer, dancer,\n",
      "actor, model, animator, cartoonist, or anyone who would benefit by the photographs, graphics,\n",
      "animation, sound, color, or movement inherent in a multimedia résumé, then this résumé is for you.\n",
      "For most people, however, a multimedia résumé and personal home page on the internet aren’t\n",
      "necessary. Most internet service providers and commercial online services provide some space on\n",
      "their sites for subscriber home pages. Mary Brandel, “Tech Resume Makeover: How to Add Multimedia,”.\n",
      "Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write\n",
      "with an academic and engaging tone that captivates interest. - Applied: Use specific and practical\n",
      "examples. For example, if the topic is integration in calculus, include equations and proofs of the\n",
      "concept you're teaching. As another example, if the topic is the history of the United States,\n",
      "include dates, names, and key events. If there are mathematical expressions use a correct LateX\n",
      "formatting. Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the\n",
      "beginning or conclusions the end.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Introduction to Business', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'Motivating Employees'. In particular, section 'From Motivation Theory to\n",
      "Application'. We have already covered the following unit in this section: 'Motivational Job Design'.\n",
      "We have already covered the following units in this section: 'Motivational Job Design',\n",
      "'Work-Scheduling Options'. We have already covered the following units in this section:\n",
      "'Motivational Job Design', 'Work-Scheduling Options', 'Recognition and Empowerment'. Write a new\n",
      "unit titled 'Economic Incentives'. Here's some text for inspiration: Any discussion of motivation\n",
      "has to include the use of monetary incentives to enhance performance. Currently, companies are using\n",
      "a variety of variable-pay programs such as piece-rate plans, profit sharing, gain sharing, stock\n",
      "options, and bonuses to encourage employees to be more productive. Unlike the standard salary or\n",
      "hourly wage, variable pay means that a portion of an employee’s pay is directly linked to an\n",
      "individual or organizational performance measure. In *piece-rate pay plans,* for example, employees\n",
      "are paid a given amount for each unit they produce, directly linking the amount the. In this module\n",
      "for young children, aim to: - Use very simple, everyday words and phrases that a 5-year-old would\n",
      "easily understand, avoiding any complex concepts or technical terms. - Tell a short, engaging story\n",
      "with colorful cartoon characters. For instance, to illustrate economic trade concepts use characters\n",
      "like animals or friendly creatures trading snacks or toys. Another example is addition and calculus,\n",
      "use apples to explain: '2 apples + 3 apples = 5 apples' . - Keep the tone light, cheerful, and\n",
      "encouraging. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Introduction to Business', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'Using Technology to Manage Information'. In particular, section 'Trends in\n",
      "Information Technology'. Write a new unit titled 'Cyber Sleuthing: A New Style of Crime Busting'. In\n",
      "this module for young children, aim to: - Use very simple, everyday words and phrases that a\n",
      "5-year-old would easily understand, avoiding any complex concepts or technical terms. - Tell a\n",
      "short, engaging story with colorful cartoon characters. For instance, to illustrate economic trade\n",
      "concepts use characters like animals or friendly creatures trading snacks or toys. Another example\n",
      "is addition and calculus, use apples to explain: '2 apples + 3 apples = 5 apples' . - Keep the tone\n",
      "light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'American Government 3e', tailored for college\n",
      "students. We are writing on chapter 'Delivering Collective Action: Formal Institutions'. In\n",
      "particular, section 'Congressional Elections' of 'Congress' part. We have already covered the\n",
      "following unit in this section: 'UNDERSTANDING THE HOUSE AND SENATE'. Write a new unit titled\n",
      "'CONGRESSIONAL CAMPAIGN FUNDING'. Try to be: - Rigorous: Ensure very detailed and in-depth coverage\n",
      "of the concepts. - Engaging: Write with an academic and engaging tone that captivates interest. -\n",
      "Applied: Use specific and practical examples. For example, if the topic is integration in calculus,\n",
      "include equations and proofs of the concept you're teaching. As another example, if the topic is the\n",
      "history of the United States, include dates, names, and key events. If there are mathematical\n",
      "expressions use a correct LateX formatting. Do not use images and avoid introductory phrases such as\n",
      "\"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'College Algebra 2e', tailored for college students.\n",
      "We are writing on chapter 'Equations and Inequalities'. In particular, section 'Linear Equations in\n",
      "One Variable'. We have already covered the following unit in this section: 'Solving Linear Equations\n",
      "in One Variable'. We have already covered the following units in this section: 'Solving Linear\n",
      "Equations in One Variable', 'Solving a Rational Equation'. Write a new unit titled 'Finding a Linear\n",
      "Equation'. Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the concepts. -\n",
      "Engaging: Write with an academic and engaging tone that captivates interest. - Applied: Use specific\n",
      "and practical examples. For example, if the topic is integration in calculus, include equations and\n",
      "proofs of the concept you're teaching. As another example, if the topic is the history of the United\n",
      "States, include dates, names, and key events. If there are mathematical expressions use a correct\n",
      "LateX formatting. Do not use images and avoid introductory phrases such as \"welcome to this unit\" at\n",
      "the beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Anatomy and Physiology 2e', tailored for college\n",
      "students. We are writing on chapter 'Fluids and Transport'. In particular, section 'Erythrocytes '\n",
      "of 'The Cardiovascular System: Blood' part. Write a new unit titled 'Shape and Structure of\n",
      "Erythrocytes'. Here's some text for inspiration: As an erythrocyte matures in the red bone marrow,\n",
      "it extrudes its nucleus and most of its other organelles. During the first day or two that it is in\n",
      "the circulation, an immature erythrocyte, known as a reticulocyte, will still typically contain\n",
      "remnants of organelles. Reticulocytes should comprise approximately 1–2 percent of the erythrocyte\n",
      "count and provide a rough estimate of the rate of RBC production, with abnormally low or high rates\n",
      "indicating deviations in the production of these cells. These remnants, primarily of networks\n",
      "(reticulum) of ribosomes, are quickly shed, however, and matu. Try to be: - Rigorous: Ensure very\n",
      "detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and engaging tone\n",
      "that captivates interest. - Applied: Use specific and practical examples. For example, if the topic\n",
      "is integration in calculus, include equations and proofs of the concept you're teaching. As another\n",
      "example, if the topic is the history of the United States, include dates, names, and key events. If\n",
      "there are mathematical expressions use a correct LateX formatting. Do not use images and avoid\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Concepts of Biology', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Evolution and the Diversity\n",
      "of Life'. In particular, section 'Speciation' of 'Evolution and Its Processes' part. Write a new\n",
      "unit titled 'Speciation through Geographic Separation'. Here's some text for inspiration: A\n",
      "geographically continuous population has a gene pool that is relatively homogeneous. Gene flow, the\n",
      "movement of alleles across the range of the species, is relatively free because individuals can move\n",
      "and then mate with individuals in their new location. Thus, the frequency of an allele at one end of\n",
      "a distribution will be similar to the frequency of the allele at the other end. When populations\n",
      "become geographically discontinuous that free-flow of alleles is prevented. When that separation\n",
      "lasts for a period of time, the two populations are able to evolve along different trajectories.\n",
      "Thus,. The style should mirror that of a scholarly publication, not school textbooks, aiming to\n",
      "engage a highly knowledgeable audience with very deep expertise. Try to: - Present advanced\n",
      "theories, using technical and academic language. - Include critical analysis of recent research\n",
      "findings and debates in the field, with a detailed examination of empirical data and statistical\n",
      "methodologies. - The article should reflect the depth and complexity of content found in top-tier\n",
      "economics journals, intended for a readership deeply entrenched in the field. - Do not add come up\n",
      "with references or add them at the end of the article. If there are mathematical expressions use a\n",
      "correct LateX formatting and do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Principles of Accounting, Volume 2:\n",
      "Managerial Accounting', tailored for middle school students without prior knowledge on the topic. We\n",
      "are writing on chapter 'Budgeting'. In particular, section 'Describe How and Why Managers Use\n",
      "Budgets'. We have already covered the following unit in this section: 'The Basics of Budgeting'. We\n",
      "have already covered the following units in this section: 'The Basics of Budgeting', 'The Role of\n",
      "the Master Budget'. We have already covered the following units in this section: 'The Basics of\n",
      "Budgeting', 'The Role of the Master Budget', 'The Role of Operating Budgets'. Write a new unit\n",
      "titled 'The Role of Financial Budgets'. Instead of a traditional textbook approach, use a\n",
      "story-based narrative to explain the concept. Try to: - Avoid technical jargon and present the ideas\n",
      "in a straightforward, conversational tone to spark curiosity and relate to the experiences of a\n",
      "younger audience. - Include interactive elements like thought experiments and real-life scenarios.\n",
      "The goal is to topic approachable and fun, sparking curiosity about how it applies to everyday life.\n",
      "- Do not use introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the\n",
      "end. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Concepts of Biology', tailored for 5 to 10 year-old\n",
      "children. Opt for a playful and imaginative approach, suitable for very young learners. We are\n",
      "writing on chapter 'Ecology'. In particular, section 'The Human Population' of 'Population and\n",
      "Community Ecology' part. We have already covered the following unit in this section: 'Overcoming\n",
      "Density-Dependent Regulation'. Write a new unit titled 'Age Structure, Population Growth, and\n",
      "Economic Development'. In this module for young children, aim to: - Use very simple, everyday words\n",
      "and phrases that a 5-year-old would easily understand, avoiding any complex concepts or technical\n",
      "terms. - Tell a short, engaging story with colorful cartoon characters. For instance, to illustrate\n",
      "economic trade concepts use characters like animals or friendly creatures trading snacks or toys.\n",
      "Another example is addition and calculus, use apples to explain: '2 apples + 3 apples = 5 apples' .\n",
      "- Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Principles of Economics 3e', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'The Aggregate Demand/Aggregate Supply Model'. In particular, section\n",
      "'Macroeconomic Perspectives on Demand and Supply'. We have already covered the following unit in\n",
      "this section: 'Say’s Law and the Macroeconomics of Supply'. We have already covered the following\n",
      "units in this section: 'Say’s Law and the Macroeconomics of Supply', 'Keynes’ Law and the\n",
      "Macroeconomics of Demand'. Write a new unit titled 'Combining Supply and Demand in Macroeconomics'.\n",
      "Here's some text for inspiration: Two insights emerge from this overview of Say’s law with its\n",
      "emphasis on macroeconomic supply and Keynes’ law with its emphasis on macroeconomic demand. The\n",
      "first conclusion, which is not exactly a hot news flash, is that an economic approach focused only\n",
      "on the supply side or only on the demand side can be only a partial success. We need to take into\n",
      "account both supply and demand. The second conclusion is that since Keynes’ law applies more\n",
      "accurately in the short run and Say’s law applies more accurately in the long run, the tradeoffs and\n",
      "connections between the three goals of macroeconomic. In this module for young children, aim to: -\n",
      "Use very simple, everyday words and phrases that a 5-year-old would easily understand, avoiding any\n",
      "complex concepts or technical terms. - Tell a short, engaging story with colorful cartoon\n",
      "characters. For instance, to illustrate economic trade concepts use characters like animals or\n",
      "friendly creatures trading snacks or toys. Another example is addition and calculus, use apples to\n",
      "explain: '2 apples + 3 apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not\n",
      "use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'University Physics Volume 2', tailored for\n",
      "middle school students without prior knowledge on the topic. We are writing on chapter 'Electricity\n",
      "and Magnetism'. In particular, section 'Electrical Measuring Instruments' of 'Direct-Current\n",
      "Circuits' part. We have already covered the following units in this section: 'DC Voltmeters and\n",
      "Ammeters', 'Measuring Current with an Ammeter', 'Measuring Voltage with a Voltmeter', 'Analog and\n",
      "Digital Meters'. Write a new unit titled 'Ohmmeters'. Here's some text for inspiration: An ohmmeter\n",
      "is an instrument used to measure the resistance of a component or device. The operation of the\n",
      "ohmmeter is based on Ohm’s law. Traditional ohmmeters contained an internal voltage source (such as\n",
      "a battery) that would be connected across the component to be tested, producing a current through\n",
      "the component. A galvanometer was then used to measure the current and the resistance was deduced\n",
      "using Ohm’s law. Modern digital meters use a constant current source to pass current through the\n",
      "component, and the voltage difference across the component is measured. In either case, the\n",
      "resistan. Instead of a traditional textbook approach, use a story-based narrative to explain the\n",
      "concept. Try to: - Avoid technical jargon and present the ideas in a straightforward, conversational\n",
      "tone to spark curiosity and relate to the experiences of a younger audience. - Include interactive\n",
      "elements like thought experiments and real-life scenarios. The goal is to topic approachable and\n",
      "fun, sparking curiosity about how it applies to everyday life. - Do not use introductory phrases\n",
      "such as \"welcome to this unit\" at the beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Introduction to Anthropology', tailored for college\n",
      "students. We are writing on chapter 'Social Inequalities'. In particular, section 'Intersections of\n",
      "Inequality'. Write a new unit titled 'Intersectionality'. Here's some text for inspiration: When\n",
      "thinking about social inequalities, it is useful to conceptualize race alongside other\n",
      "characteristics. Intersectionality is the observation that one’s class, race, sexuality, age, and\n",
      "ability can all define and complicate experiences. The concept of intersectionality can be traced\n",
      "back to pre–Civil War America, when Sojourner Truth made her “Ain’t I a Woman” speech in 1851 at the\n",
      "Ohio Women’s Convention in Akron, Ohio, addressing the exclusion of Black women from the fight for\n",
      "women’s rights. However, the term *intersectionality* was officially coined by critical race\n",
      "theorist and legal. Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the\n",
      "concepts. - Engaging: Write with an academic and engaging tone that captivates interest. - Applied:\n",
      "Use specific and practical examples. For example, if the topic is integration in calculus, include\n",
      "equations and proofs of the concept you're teaching. As another example, if the topic is the history\n",
      "of the United States, include dates, names, and key events. If there are mathematical expressions\n",
      "use a correct LateX formatting. Do not use images and avoid introductory phrases such as \"welcome to\n",
      "this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Algebra and Trigonometry 2e', tailored for\n",
      "middle school students without prior knowledge on the topic. We are writing on chapter 'Further\n",
      "Applications of Trigonometry'. In particular, section 'Vectors'. We have already covered the\n",
      "following unit in this section: 'A Geometric View of Vectors'. We have already covered the following\n",
      "units in this section: 'A Geometric View of Vectors', 'Finding Magnitude and Direction'. We have\n",
      "already covered the following units in this section: 'A Geometric View of Vectors', 'Finding\n",
      "Magnitude and Direction', 'Performing Vector Addition and Scalar Multiplication'. We have already\n",
      "covered the following units in this section: 'A Geometric View of Vectors', 'Finding Magnitude and\n",
      "Direction', 'Performing Vector Addition and Scalar Multiplication', 'Multiplying By a Scalar'. Write\n",
      "a new unit titled 'Finding Component Form'. Instead of a traditional textbook approach, use a\n",
      "story-based narrative to explain the concept. Try to: - Avoid technical jargon and present the ideas\n",
      "in a straightforward, conversational tone to spark curiosity and relate to the experiences of a\n",
      "younger audience. - Include interactive elements like thought experiments and real-life scenarios.\n",
      "The goal is to topic approachable and fun, sparking curiosity about how it applies to everyday life.\n",
      "- Do not use introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the\n",
      "end. Do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'College Success Concise', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Reading and Note-Taking'. In\n",
      "particular, section 'The Learning Process'. Write a new unit titled 'Bloom’s Taxonomy'. Here's some\n",
      "text for inspiration: One aspect of learning in college is that different professors and different\n",
      "courses expect different types of learning from you. Figuring out how you need to learn the material\n",
      "and how you will be tested on it is part of learning the (sometimes) hidden curriculum. The style\n",
      "should mirror that of a scholarly publication, not school textbooks, aiming to engage a highly\n",
      "knowledgeable audience with very deep expertise. Try to: - Present advanced theories, using\n",
      "technical and academic language. - Include critical analysis of recent research findings and debates\n",
      "in the field, with a detailed examination of empirical data and statistical methodologies. - The\n",
      "article should reflect the depth and complexity of content found in top-tier economics journals,\n",
      "intended for a readership deeply entrenched in the field. - Do not add come up with references or\n",
      "add them at the end of the article. If there are mathematical expressions use a correct LateX\n",
      "formatting and do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'World History Volume 2, from 1400', tailored for\n",
      "college students. We are writing on chapter 'The Modern World, 1914–Present'. In particular, section\n",
      "'Recovering from World War I' of 'The Interwar Period' part. Write a new unit titled 'The\n",
      "Aftermath'. Here's some text for inspiration: As World War I ended in 1918, the world moved to cope\n",
      "with the destruction it had wrought. Military casualties stood between nine and ten million,\n",
      "civilian deaths at approximately ten million, and the number of wounded above twenty-one million.\n",
      "Veterans had both physical and emotional wounds; some needed physical therapy, prosthetics, or\n",
      "vocational training for their postwar lives. The civilian toll meant families had lost not only\n",
      "sons, brothers, husbands, and fathers but daughters, sisters, wives, and mothers. The war also\n",
      "brought into question the notions of superiority that had permeated W. Try to be: - Rigorous: Ensure\n",
      "very detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and engaging\n",
      "tone that captivates interest. - Applied: Use specific and practical examples. For example, if the\n",
      "topic is integration in calculus, include equations and proofs of the concept you're teaching. As\n",
      "another example, if the topic is the history of the United States, include dates, names, and key\n",
      "events. If there are mathematical expressions use a correct LateX formatting. Do not use images and\n",
      "avoid introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Intermediate Algebra 2e', tailored for college\n",
      "students. We are writing on chapter 'Rational Expressions and Functions'. In particular, section\n",
      "'Solve Applications with Rational Equations'. We have already covered the following unit in this\n",
      "section: 'Solve Proportions'. We have already covered the following units in this section: 'Solve\n",
      "Proportions', 'Solve similar figure applications'. We have already covered the following units in\n",
      "this section: 'Solve Proportions', 'Solve similar figure applications', 'Solve Uniform Motion\n",
      "Applications'. We have already covered the following units in this section: 'Solve Proportions',\n",
      "'Solve similar figure applications', 'Solve Uniform Motion Applications', 'Solve Work Applications'.\n",
      "We have already covered the following units in this section: 'Solve Proportions', 'Solve similar\n",
      "figure applications', 'Solve Uniform Motion Applications', 'Solve Work Applications', 'Solve Direct\n",
      "Variation Problems'. Write a new unit titled 'Solve Inverse Variation Problems'. Here's some text\n",
      "for inspiration: Many applications involve two variable that *vary inversely*. As one variable\n",
      "increases, the other decreases. The equation that relates them is $y=\\frac{k}{x}.$. Try to be: -\n",
      "Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an\n",
      "academic and engaging tone that captivates interest. - Applied: Use specific and practical examples.\n",
      "For example, if the topic is integration in calculus, include equations and proofs of the concept\n",
      "you're teaching. As another example, if the topic is the history of the United States, include\n",
      "dates, names, and key events. If there are mathematical expressions use a correct LateX formatting.\n",
      "Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Organic Chemistry', tailored for college students.\n",
      "We are writing on chapter 'Carboxylic Acid Derivatives: Nucleophilic Acyl Substitution Reactions'.\n",
      "In particular, section 'Reactions of Carboxylic Acids'. We have already covered the following unit\n",
      "in this section: 'Conversion of Carboxylic Acids into Acid Chlorides'. We have already covered the\n",
      "following units in this section: 'Conversion of Carboxylic Acids into Acid Chlorides', 'Conversion\n",
      "of Carboxylic Acids into Acid Anhydrides'. We have already covered the following units in this\n",
      "section: 'Conversion of Carboxylic Acids into Acid Chlorides', 'Conversion of Carboxylic Acids into\n",
      "Acid Anhydrides', 'Conversion of Carboxylic Acids into Esters'. We have already covered the\n",
      "following units in this section: 'Conversion of Carboxylic Acids into Acid Chlorides', 'Conversion\n",
      "of Carboxylic Acids into Acid Anhydrides', 'Conversion of Carboxylic Acids into Esters', 'Conversion\n",
      "of Carboxylic Acids into Amides'. We have already covered the following units in this section:\n",
      "'Conversion of Carboxylic Acids into Acid Chlorides', 'Conversion of Carboxylic Acids into Acid\n",
      "Anhydrides', 'Conversion of Carboxylic Acids into Esters', 'Conversion of Carboxylic Acids into\n",
      "Amides', 'Conversion of Carboxylic Acids into Alcohols'. Write a new unit titled 'Biological\n",
      "Conversions of Carboxylic Acids'. Here's some text for inspiration: The direct conversion of a\n",
      "carboxylic acid to an acyl derivative by nucleophilic acyl substitution does not occur in biological\n",
      "chemistry. As in the laboratory, the acid must first be activated by converting the –OH into a\n",
      "better leaving group. This activation is often accomplished in living organisms by reaction of the\n",
      "acid with adenosine triphosphate (ATP) to give an acyl adenosyl phosphate, or *acyl adenylate,* a\n",
      "mixed anhydride combining a carboxylic acid and adenosine monophosphate (AMP, also known as adenylic\n",
      "acid). In the biosynthesis of fats, for example, a long-chain carboxylic acid r. Try to be: -\n",
      "Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an\n",
      "academic and engaging tone that captivates interest. - Applied: Use specific and practical examples.\n",
      "For example, if the topic is integration in calculus, include equations and proofs of the concept\n",
      "you're teaching. As another example, if the topic is the history of the United States, include\n",
      "dates, names, and key events. If there are mathematical expressions use a correct LateX formatting.\n",
      "Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'University Physics Volume 3', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Modern Physics'. In\n",
      "particular, section 'The Quantum Harmonic Oscillator' of 'Quantum Mechanics' part. We have already\n",
      "covered the following unit in this section: 'The Classic Harmonic Oscillator'. Write a new unit\n",
      "titled 'The Quantum Harmonic Oscillator'. The style should mirror that of a scholarly publication,\n",
      "not school textbooks, aiming to engage a highly knowledgeable audience with very deep expertise. Try\n",
      "to: - Present advanced theories, using technical and academic language. - Include critical analysis\n",
      "of recent research findings and debates in the field, with a detailed examination of empirical data\n",
      "and statistical methodologies. - The article should reflect the depth and complexity of content\n",
      "found in top-tier economics journals, intended for a readership deeply entrenched in the field. - Do\n",
      "not add come up with references or add them at the end of the article. If there are mathematical\n",
      "expressions use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Workplace Software and Skills', tailored for\n",
      "middle school students without prior knowledge on the topic. We are writing on chapter 'Document\n",
      "Preparation'. In particular, section 'Microsoft Word: Advanced Formatting Features'. We have already\n",
      "covered the following unit in this section: 'Advanced Configuration'. We have already covered the\n",
      "following units in this section: 'Advanced Configuration', 'Page Numbers'. Write a new unit titled\n",
      "'Headers and Footers'. Here's some text for inspiration: Have you ever opened a book and seen the\n",
      "title at the top of every page? This area of the page is called the header, in which you can put\n",
      "essential information about the document, such as the name, chapter name, author, and page numbers.\n",
      "The header will appear on every page of your file by default, but you can change this if desired, as\n",
      "will be discussed later in this section. If you glance at the bottom of a page, you may see the text\n",
      "“Page x,”; this is part of the area of the page called the footer. Many documents simply use the\n",
      "footer for page numbers, but you may also add your contact info. Instead of a traditional textbook\n",
      "approach, use a story-based narrative to explain the concept. Try to: - Avoid technical jargon and\n",
      "present the ideas in a straightforward, conversational tone to spark curiosity and relate to the\n",
      "experiences of a younger audience. - Include interactive elements like thought experiments and\n",
      "real-life scenarios. The goal is to topic approachable and fun, sparking curiosity about how it\n",
      "applies to everyday life. - Do not use introductory phrases such as \"welcome to this unit\" at the\n",
      "beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Astronomy 2e', tailored for college students. We are\n",
      "writing on chapter 'Celestial Distances'. In particular, section 'Fundamental Units of Distance'. We\n",
      "have already covered the following unit in this section: 'The Metric System'. We have already\n",
      "covered the following units in this section: 'The Metric System', 'Modern Redefinitions of the\n",
      "Meter'. Write a new unit titled 'Distance within the Solar System'. Try to be: - Rigorous: Ensure\n",
      "very detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and engaging\n",
      "tone that captivates interest. - Applied: Use specific and practical examples. For example, if the\n",
      "topic is integration in calculus, include equations and proofs of the concept you're teaching. As\n",
      "another example, if the topic is the history of the United States, include dates, names, and key\n",
      "events. If there are mathematical expressions use a correct LateX formatting. Do not use images and\n",
      "avoid introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Physics', tailored for college students. We are\n",
      "writing on chapter 'Special Relativity'. In particular, section 'Postulates of Special Relativity'.\n",
      "We have already covered the following unit in this section: 'Section Key Terms'. We have already\n",
      "covered the following units in this section: 'Section Key Terms', 'Scientific Experiments and\n",
      "Problems'. Write a new unit titled 'Einstein’s Postulates'. Here's some text for inspiration: The\n",
      "results described above left physicists with some puzzling and unsettling questions such as, why\n",
      "doesn’t light emitted by a fast-moving object travel faster than light from a street lamp? A radical\n",
      "new theory was needed, and Albert Einstein, shown in [link], was about to become everyone’s favorite\n",
      "genius. Einstein began with two simple postulates based on the two things we have discussed so far\n",
      "in this chapter. Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the concepts.\n",
      "- Engaging: Write with an academic and engaging tone that captivates interest. - Applied: Use\n",
      "specific and practical examples. For example, if the topic is integration in calculus, include\n",
      "equations and proofs of the concept you're teaching. As another example, if the topic is the history\n",
      "of the United States, include dates, names, and key events. If there are mathematical expressions\n",
      "use a correct LateX formatting. Do not use images and avoid introductory phrases such as \"welcome to\n",
      "this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'World History Volume 1, to 1500', tailored\n",
      "for professionals and researchers on the topic. We are writing on chapter 'An Age of Religion,\n",
      "500–1200 CE'. In particular, section 'The Margins of Empire' of 'Empires of Faith' part. We have\n",
      "already covered the following unit in this section: 'The Kushan Empire'. Write a new unit titled\n",
      "'Palmyra as Rival to the Roman Empire'. Here's some text for inspiration: Located in south-central\n",
      "Syria, the city of Palmyra rose in influence in the third century BCE because of its proximity to a\n",
      "newly built east–west road. As a result, the city was linked to a wider trade network between the\n",
      "Roman state and the east via both the Silk Roads and the Persian Gulf. By funneling goods to the\n",
      "Roman state, the city came to the special attention of the Romans in the first century BCE. Though\n",
      "there is evidence that Roman officials and military were in the city at this time, Palmyra’s\n",
      "government remained semiautonomous throughout the period. The style should mirror that of a\n",
      "scholarly publication, not school textbooks, aiming to engage a highly knowledgeable audience with\n",
      "very deep expertise. Try to: - Present advanced theories, using technical and academic language. -\n",
      "Include critical analysis of recent research findings and debates in the field, with a detailed\n",
      "examination of empirical data and statistical methodologies. - The article should reflect the depth\n",
      "and complexity of content found in top-tier economics journals, intended for a readership deeply\n",
      "entrenched in the field. - Do not add come up with references or add them at the end of the article.\n",
      "If there are mathematical expressions use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Microbiology', tailored for 5 to 10 year-old children.\n",
      "Opt for a playful and imaginative approach, suitable for very young learners. We are writing on\n",
      "chapter 'Acellular Pathogens'. In particular, section 'The Viral Life Cycle'. Write a new unit\n",
      "titled 'The Life Cycle of Viruses with Prokaryote Hosts'. Here's some text for inspiration: The life\n",
      "cycle of bacteriophages has been a good model for understanding how viruses affect the cells they\n",
      "infect, since similar processes have been observed for eukaryotic viruses, which can cause immediate\n",
      "death of the cell or establish a latent or chronic infection. Virulent phages typically lead to the\n",
      "death of the cell through cell lysis. Temperate phages, on the other hand, can become part of a host\n",
      "chromosome and are replicated with the cell genome until such time as they are induced to make newly\n",
      "assembled viruses, or progeny virus**es**. In this module for young children, aim to: - Use very\n",
      "simple, everyday words and phrases that a 5-year-old would easily understand, avoiding any complex\n",
      "concepts or technical terms. - Tell a short, engaging story with colorful cartoon characters. For\n",
      "instance, to illustrate economic trade concepts use characters like animals or friendly creatures\n",
      "trading snacks or toys. Another example is addition and calculus, use apples to explain: '2 apples +\n",
      "3 apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Psychology 2e', tailored for middle school\n",
      "students without prior knowledge on the topic. We are writing on chapter 'Biopsychology'. In\n",
      "particular, section 'The Endocrine System'. Write a new unit titled 'Major Glands'. Here's some text\n",
      "for inspiration: The pituitary gland descends from the hypothalamus at the base of the brain, and\n",
      "acts in close association with it. The pituitary is often referred to as the “master gland” because\n",
      "its messenger hormones control all the other glands in the endocrine system, although it mostly\n",
      "carries out instructions from the hypothalamus. In addition to messenger hormones, the pituitary\n",
      "also secretes growth hormone, endorphins for pain relief, and a number of key hormones that regulate\n",
      "fluid levels in the body. Instead of a traditional textbook approach, use a story-based narrative to\n",
      "explain the concept. Try to: - Avoid technical jargon and present the ideas in a straightforward,\n",
      "conversational tone to spark curiosity and relate to the experiences of a younger audience. -\n",
      "Include interactive elements like thought experiments and real-life scenarios. The goal is to topic\n",
      "approachable and fun, sparking curiosity about how it applies to everyday life. - Do not use\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end. Do not\n",
      "use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'College Algebra with Corequisite Support 2e',\n",
      "tailored for professionals and researchers on the topic. We are writing on chapter 'Exponential and\n",
      "Logarithmic Functions'. In particular, section 'Exponential and Logarithmic Equations'. We have\n",
      "already covered the following unit in this section: 'Using Like Bases to Solve Exponential\n",
      "Equations'. We have already covered the following units in this section: 'Using Like Bases to Solve\n",
      "Exponential Equations', 'Solving Exponential Equations Using Logarithms'. Write a new unit titled\n",
      "'Using the Definition of a Logarithm to Solve Logarithmic Equations'. The style should mirror that\n",
      "of a scholarly publication, not school textbooks, aiming to engage a highly knowledgeable audience\n",
      "with very deep expertise. Try to: - Present advanced theories, using technical and academic\n",
      "language. - Include critical analysis of recent research findings and debates in the field, with a\n",
      "detailed examination of empirical data and statistical methodologies. - The article should reflect\n",
      "the depth and complexity of content found in top-tier economics journals, intended for a readership\n",
      "deeply entrenched in the field. - Do not add come up with references or add them at the end of the\n",
      "article. If there are mathematical expressions use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Principles of Management', tailored for college\n",
      "students. We are writing on chapter 'Strategic Analysis: Understanding a Firm’s Competitive\n",
      "Environment'. In particular, section 'Using SWOT for Strategic Analysis'. We have already covered\n",
      "the following unit in this section: 'Strengths'. We have already covered the following units in this\n",
      "section: 'Strengths', 'Weaknesses'. Write a new unit titled 'Opportunities'. Here's some text for\n",
      "inspiration: While strengths and weaknesses are internal to an organization, but opportunities and\n",
      "threats are always external. An opportunity is a potential situation that a firm is equipped to take\n",
      "advantage of. Think of opportunities in terms of things that happen in the market. Opportunities\n",
      "offer positive potential, however sometimes a firm is not equipped to take advantage of an\n",
      "opportunity which is why considering the entire SWOT is important before deciding what to do. For\n",
      "example, as cities are becoming more populated, parking is becoming scarcer. Younger consumers who\n",
      "live in cities are starting. Try to be: - Rigorous: Ensure very detailed and in-depth coverage of\n",
      "the concepts. - Engaging: Write with an academic and engaging tone that captivates interest. -\n",
      "Applied: Use specific and practical examples. For example, if the topic is integration in calculus,\n",
      "include equations and proofs of the concept you're teaching. As another example, if the topic is the\n",
      "history of the United States, include dates, names, and key events. If there are mathematical\n",
      "expressions use a correct LateX formatting. Do not use images and avoid introductory phrases such as\n",
      "\"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Algebra and Trigonometry 2e', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'Further Applications of Trigonometry'. In particular, section 'Non-right\n",
      "Triangles: Law of Cosines'. We have already covered the following unit in this section: 'Using the\n",
      "Law of Cosines to Solve Oblique Triangles'. We have already covered the following units in this\n",
      "section: 'Using the Law of Cosines to Solve Oblique Triangles', 'Solving Applied Problems Using the\n",
      "Law of Cosines'. Write a new unit titled 'Using Heron’s Formula to Find the Area of a Triangle'.\n",
      "Here's some text for inspiration: We already learned how to find the area of an oblique triangle\n",
      "when we know two sides and an angle. We also know the formula to find the area of a triangle using\n",
      "the base and the height. When we know the three sides, however, we can use Heron’s formula instead\n",
      "of finding the height. Heron of Alexandria was a geometer who lived during the first century A.D. He\n",
      "discovered a formula for finding the area of oblique triangles when three sides are known. In this\n",
      "module for young children, aim to: - Use very simple, everyday words and phrases that a 5-year-old\n",
      "would easily understand, avoiding any complex concepts or technical terms. - Tell a short, engaging\n",
      "story with colorful cartoon characters. For instance, to illustrate economic trade concepts use\n",
      "characters like animals or friendly creatures trading snacks or toys. Another example is addition\n",
      "and calculus, use apples to explain: '2 apples + 3 apples = 5 apples' . - Keep the tone light,\n",
      "cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Introduction to Political Science', tailored\n",
      "for professionals and researchers on the topic. We are writing on chapter 'Individuals'. In\n",
      "particular, section 'What Is Political Participation?' of 'Political Participation and Public\n",
      "Opinion' part. We have already covered the following unit in this section: 'Political Participation\n",
      "and Self-Government'. Write a new unit titled 'Why Is Voting Such an Important Form of Political\n",
      "Participation?'. Here's some text for inspiration: Self-government also means that the people are\n",
      "considered sovereign, meaning there is no power above the people. In self-governing states, the\n",
      "people elect public officials to government positions so those officials can represent the people’s\n",
      "beliefs and craft policies to express their will. In this way, voting is an important manifestation\n",
      "of both self-government and political participation—the most important, some argue, because it is\n",
      "the primary mechanism by which the people ensure that their government represents them. Another way\n",
      "to put it is to say that voting is what makes government *f. The style should mirror that of a\n",
      "scholarly publication, not school textbooks, aiming to engage a highly knowledgeable audience with\n",
      "very deep expertise. Try to: - Present advanced theories, using technical and academic language. -\n",
      "Include critical analysis of recent research findings and debates in the field, with a detailed\n",
      "examination of empirical data and statistical methodologies. - The article should reflect the depth\n",
      "and complexity of content found in top-tier economics journals, intended for a readership deeply\n",
      "entrenched in the field. - Do not add come up with references or add them at the end of the article.\n",
      "If there are mathematical expressions use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Introduction to Business', tailored for college\n",
      "students. We are writing on chapter 'Understanding Money and Financial Institutions'. In particular,\n",
      "section 'The Federal Reserve System'. We have already covered the following unit in this section:\n",
      "'Carrying Out Monetary Policy'. We have already covered the following units in this section:\n",
      "'Carrying Out Monetary Policy', 'Setting Rules on Credit'. Write a new unit titled 'Distributing\n",
      "Currency: Keeping the Cash Flowing'. Here's some text for inspiration: The Federal Reserve\n",
      "distributes the coins minted and the paper money printed by the U.S. Treasury to banks. Most paper\n",
      "money is in the form of Federal Reserve notes. Look at a dollar bill and you’ll see “Federal Reserve\n",
      "Note” at the top. The large letter seal on the left indicates which Federal Reserve Bank issued it.\n",
      "For example, bills bearing a *D* seal are issued by the Federal Reserve Bank of Cleveland, and those\n",
      "with an *L* seal are issued by the San Francisco district bank. Try to be: - Rigorous: Ensure very\n",
      "detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and engaging tone\n",
      "that captivates interest. - Applied: Use specific and practical examples. For example, if the topic\n",
      "is integration in calculus, include equations and proofs of the concept you're teaching. As another\n",
      "example, if the topic is the history of the United States, include dates, names, and key events. If\n",
      "there are mathematical expressions use a correct LateX formatting. Do not use images and avoid\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Principles of Microeconomics 3e', tailored\n",
      "for professionals and researchers on the topic. We are writing on chapter 'Poverty and Economic\n",
      "Inequality'. In particular, section 'Government Policies to Reduce Income Inequality'. We have\n",
      "already covered the following unit in this section: 'Redistribution'. Write a new unit titled 'The\n",
      "Ladder of Opportunity'. The style should mirror that of a scholarly publication, not school\n",
      "textbooks, aiming to engage a highly knowledgeable audience with very deep expertise. Try to: -\n",
      "Present advanced theories, using technical and academic language. - Include critical analysis of\n",
      "recent research findings and debates in the field, with a detailed examination of empirical data and\n",
      "statistical methodologies. - The article should reflect the depth and complexity of content found in\n",
      "top-tier economics journals, intended for a readership deeply entrenched in the field. - Do not add\n",
      "come up with references or add them at the end of the article. If there are mathematical expressions\n",
      "use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Chemistry: Atoms First 2e', tailored for college\n",
      "students. We are writing on chapter 'Thermodynamics'. In particular, section 'The Second and Third\n",
      "Laws of Thermodynamics'. We have already covered the following unit in this section: 'The Second Law\n",
      "of Thermodynamics'. Write a new unit titled 'The Third Law of Thermodynamics'. Try to be: -\n",
      "Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an\n",
      "academic and engaging tone that captivates interest. - Applied: Use specific and practical examples.\n",
      "For example, if the topic is integration in calculus, include equations and proofs of the concept\n",
      "you're teaching. As another example, if the topic is the history of the United States, include\n",
      "dates, names, and key events. If there are mathematical expressions use a correct LateX formatting.\n",
      "Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Principles of Accounting, Volume 2:\n",
      "Managerial Accounting', tailored for middle school students without prior knowledge on the topic. We\n",
      "are writing on chapter 'Activity-Based, Variable, and Absorption Costing'. In particular, section\n",
      "'Describe and Identify Cost Drivers'. We have already covered the following unit in this section:\n",
      "'Cost Drivers and Overhead'. Write a new unit titled 'Identify Cost Drivers'. Instead of a\n",
      "traditional textbook approach, use a story-based narrative to explain the concept. Try to: - Avoid\n",
      "technical jargon and present the ideas in a straightforward, conversational tone to spark curiosity\n",
      "and relate to the experiences of a younger audience. - Include interactive elements like thought\n",
      "experiments and real-life scenarios. The goal is to topic approachable and fun, sparking curiosity\n",
      "about how it applies to everyday life. - Do not use introductory phrases such as \"welcome to this\n",
      "unit\" at the beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Principles of Macroeconomics for AP® Courses\n",
      "2e', tailored for middle school students without prior knowledge on the topic. We are writing on\n",
      "chapter 'The Aggregate Demand/Aggregate Supply Model'. In particular, section 'Shifts in Aggregate\n",
      "Supply'. Write a new unit titled 'How Productivity Growth Shifts the AS Curve'. Here's some text for\n",
      "inspiration: In the long run, the most important factor shifting the AS curve is productivity\n",
      "growth. Productivity means how much output can be produced with a given quantity of labor. One\n",
      "measure of this is output per worker or GDP per capita. Over time, productivity grows so that the\n",
      "same quantity of labor can produce more output. Historically, the real growth in GDP per capita in\n",
      "an advanced economy like the United States has averaged about 2% to 3% per year, but productivity\n",
      "growth has been faster during certain extended periods like the 1960s and the late 1990s through the\n",
      "early 2000s, or slower durin. Instead of a traditional textbook approach, use a story-based\n",
      "narrative to explain the concept. Try to: - Avoid technical jargon and present the ideas in a\n",
      "straightforward, conversational tone to spark curiosity and relate to the experiences of a younger\n",
      "audience. - Include interactive elements like thought experiments and real-life scenarios. The goal\n",
      "is to topic approachable and fun, sparking curiosity about how it applies to everyday life. - Do not\n",
      "use introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end. Do\n",
      "not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Biology 2e', tailored for college students. We are\n",
      "writing on chapter 'Plant Structure and Function'. In particular, section 'Leaves' of 'Plant Form\n",
      "and Physiology' part. Write a new unit titled 'Structure of a Typical Leaf'. Try to be: - Rigorous:\n",
      "Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and\n",
      "engaging tone that captivates interest. - Applied: Use specific and practical examples. For example,\n",
      "if the topic is integration in calculus, include equations and proofs of the concept you're\n",
      "teaching. As another example, if the topic is the history of the United States, include dates,\n",
      "names, and key events. If there are mathematical expressions use a correct LateX formatting. Do not\n",
      "use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'U.S. History', tailored for college students. We are\n",
      "writing on chapter 'Contesting Futures: America in the 1960s'. In particular, section 'Lyndon\n",
      "Johnson and the Great Society'. We have already covered the following unit in this section: 'THE\n",
      "GREAT SOCIETY'. Write a new unit titled 'JOHNSON’S COMMITMENT TO CIVIL RIGHTS'. Try to be: -\n",
      "Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an\n",
      "academic and engaging tone that captivates interest. - Applied: Use specific and practical examples.\n",
      "For example, if the topic is integration in calculus, include equations and proofs of the concept\n",
      "you're teaching. As another example, if the topic is the history of the United States, include\n",
      "dates, names, and key events. If there are mathematical expressions use a correct LateX formatting.\n",
      "Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Contemporary Mathematics', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Geometry'. In particular,\n",
      "section 'Volume and Surface Area'. We have already covered the following unit in this section:\n",
      "'Three-Dimensional Objects'. Write a new unit titled 'Right Prisms'. Here's some text for\n",
      "inspiration: A right prism is a particular type of three-dimensional object. It has a polygon-shaped\n",
      "base and a congruent, regular polygon-shaped top, which are connected by the height of its lateral\n",
      "sides, as shown in [link]. The lateral sides form a right angle with the base and the top. There are\n",
      "rectangular prisms, hexagonal prisms, octagonal prisms, triangular prisms, and so on. The style\n",
      "should mirror that of a scholarly publication, not school textbooks, aiming to engage a highly\n",
      "knowledgeable audience with very deep expertise. Try to: - Present advanced theories, using\n",
      "technical and academic language. - Include critical analysis of recent research findings and debates\n",
      "in the field, with a detailed examination of empirical data and statistical methodologies. - The\n",
      "article should reflect the depth and complexity of content found in top-tier economics journals,\n",
      "intended for a readership deeply entrenched in the field. - Do not add come up with references or\n",
      "add them at the end of the article. If there are mathematical expressions use a correct LateX\n",
      "formatting and do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Introduction to Anthropology', tailored for college\n",
      "students. We are writing on chapter 'Human-Animal Relationship'. In particular, section 'Animal\n",
      "Industries and the Animal Trade'. We have already covered the following unit in this section:\n",
      "'Zoos'. We have already covered the following units in this section: 'Zoos', 'Ecotourism'. We have\n",
      "already covered the following units in this section: 'Zoos', 'Ecotourism', 'Animals and the Medical\n",
      "Industry'. Write a new unit titled 'Animals in Our Lives'. Try to be: - Rigorous: Ensure very\n",
      "detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and engaging tone\n",
      "that captivates interest. - Applied: Use specific and practical examples. For example, if the topic\n",
      "is integration in calculus, include equations and proofs of the concept you're teaching. As another\n",
      "example, if the topic is the history of the United States, include dates, names, and key events. If\n",
      "there are mathematical expressions use a correct LateX formatting. Do not use images and avoid\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Introduction to Business', tailored for\n",
      "middle school students without prior knowledge on the topic. We are writing on chapter 'Achieving\n",
      "World-Class Operations Management'. In particular, section 'Location, Location, Location: Where Do\n",
      "We Make It?'. We have already covered the following unit in this section: 'Availability of\n",
      "Production Inputs'. Write a new unit titled 'Marketing Factors'. Instead of a traditional textbook\n",
      "approach, use a story-based narrative to explain the concept. Try to: - Avoid technical jargon and\n",
      "present the ideas in a straightforward, conversational tone to spark curiosity and relate to the\n",
      "experiences of a younger audience. - Include interactive elements like thought experiments and\n",
      "real-life scenarios. The goal is to topic approachable and fun, sparking curiosity about how it\n",
      "applies to everyday life. - Do not use introductory phrases such as \"welcome to this unit\" at the\n",
      "beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Astronomy 2e', tailored for college students. We are\n",
      "writing on chapter 'Astronomical Instruments'. In particular, section 'Radio Telescopes'. We have\n",
      "already covered the following unit in this section: 'Detection of Radio Energy from Space'. Write a\n",
      "new unit titled 'Radio Interferometry'. Here's some text for inspiration: As we discussed earlier, a\n",
      "telescope’s ability to show us fine detail (its resolution) depends upon its aperture, but it also\n",
      "depends upon the wavelength of the radiation that the telescope is gathering. The longer the waves,\n",
      "the harder it is to resolve fine detail in the images or maps we make. Because radio waves have such\n",
      "long wavelengths, they present tremendous challenges for astronomers who need good resolution. In\n",
      "fact, even the largest radio dishes on Earth, operating alone, cannot make out as much detail as the\n",
      "typical small visible-light telescope used in a college astronomy lab. To. Try to be: - Rigorous:\n",
      "Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and\n",
      "engaging tone that captivates interest. - Applied: Use specific and practical examples. For example,\n",
      "if the topic is integration in calculus, include equations and proofs of the concept you're\n",
      "teaching. As another example, if the topic is the history of the United States, include dates,\n",
      "names, and key events. If there are mathematical expressions use a correct LateX formatting. Do not\n",
      "use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Principles of Macroeconomics for AP® Courses\n",
      "2e', tailored for middle school students without prior knowledge on the topic. We are writing on\n",
      "chapter 'Economic Growth'. In particular, section 'Labor Productivity and Economic Growth'. Write a\n",
      "new unit titled 'Sources of Economic Growth: The Aggregate Production Function'. Here's some text\n",
      "for inspiration: To analyze the sources of economic growth, it is useful to think about a production\n",
      "function, which is the technical relationship by which economic inputs like labor, machinery, and\n",
      "raw materials are turned into outputs like goods and services that consumers use. A microeconomic\n",
      "production function describes a firm's or perhaps an industry's inputs and outputs. In\n",
      "macroeconomics, we call the connection from inputs to outputs for the entire economy an aggregate\n",
      "production function. Instead of a traditional textbook approach, use a story-based narrative to\n",
      "explain the concept. Try to: - Avoid technical jargon and present the ideas in a straightforward,\n",
      "conversational tone to spark curiosity and relate to the experiences of a younger audience. -\n",
      "Include interactive elements like thought experiments and real-life scenarios. The goal is to topic\n",
      "approachable and fun, sparking curiosity about how it applies to everyday life. - Do not use\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end. Do not\n",
      "use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Contemporary Mathematics', tailored for college\n",
      "students. We are writing on chapter 'Graph Theory'. In particular, section 'Graph Basics'. We have\n",
      "already covered the following unit in this section: 'Parts of a Graph'. We have already covered the\n",
      "following units in this section: 'Parts of a Graph', 'Analyzing Geographical Maps with Graphs'.\n",
      "Write a new unit titled 'Graphs of Social Interactions'. Try to be: - Rigorous: Ensure very detailed\n",
      "and in-depth coverage of the concepts. - Engaging: Write with an academic and engaging tone that\n",
      "captivates interest. - Applied: Use specific and practical examples. For example, if the topic is\n",
      "integration in calculus, include equations and proofs of the concept you're teaching. As another\n",
      "example, if the topic is the history of the United States, include dates, names, and key events. If\n",
      "there are mathematical expressions use a correct LateX formatting. Do not use images and avoid\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Psychology 2e', tailored for 5 to 10 year-old\n",
      "children. Opt for a playful and imaginative approach, suitable for very young learners. We are\n",
      "writing on chapter 'Psychological Disorders'. In particular, section 'Obsessive-Compulsive and\n",
      "Related Disorders'. We have already covered the following unit in this section:\n",
      "'Obsessive-Compulsive Disorder'. We have already covered the following units in this section:\n",
      "'Obsessive-Compulsive Disorder', 'Body Dysmorphic Disorder'. We have already covered the following\n",
      "units in this section: 'Obsessive-Compulsive Disorder', 'Body Dysmorphic Disorder', 'Hoarding\n",
      "Disorder'. Write a new unit titled 'Causes of OCD'. In this module for young children, aim to: - Use\n",
      "very simple, everyday words and phrases that a 5-year-old would easily understand, avoiding any\n",
      "complex concepts or technical terms. - Tell a short, engaging story with colorful cartoon\n",
      "characters. For instance, to illustrate economic trade concepts use characters like animals or\n",
      "friendly creatures trading snacks or toys. Another example is addition and calculus, use apples to\n",
      "explain: '2 apples + 3 apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not\n",
      "use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Principles of Microeconomics for AP® Courses\n",
      "2e', tailored for middle school students without prior knowledge on the topic. We are writing on\n",
      "chapter 'Demand and Supply'. In particular, section 'Demand, Supply, and Equilibrium in Markets for\n",
      "Goods and Services'. We have already covered the following unit in this section: 'Demand for Goods\n",
      "and Services'. We have already covered the following units in this section: 'Demand for Goods and\n",
      "Services', 'Supply of Goods and Services'. Write a new unit titled 'Equilibrium—Where Demand and\n",
      "Supply Intersect'. Here's some text for inspiration: Because the graphs for demand and supply curves\n",
      "both have price on the vertical axis and quantity on the horizontal axis, the demand curve and\n",
      "supply curve for a particular good or service can appear on the same graph. Together, demand and\n",
      "supply determine the price and the quantity that will be bought and sold in a market. Instead of a\n",
      "traditional textbook approach, use a story-based narrative to explain the concept. Try to: - Avoid\n",
      "technical jargon and present the ideas in a straightforward, conversational tone to spark curiosity\n",
      "and relate to the experiences of a younger audience. - Include interactive elements like thought\n",
      "experiments and real-life scenarios. The goal is to topic approachable and fun, sparking curiosity\n",
      "about how it applies to everyday life. - Do not use introductory phrases such as \"welcome to this\n",
      "unit\" at the beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Principles of Finance', tailored for middle\n",
      "school students without prior knowledge on the topic. We are writing on chapter 'Corporate Structure\n",
      "and Governance'. In particular, section 'Companies in Domestic and Global Markets'. We have already\n",
      "covered the following unit in this section: 'Important Differences among Domestic, International,\n",
      "and Global Organizations'. Write a new unit titled 'Difference in Financial Reporting: GAAP versus\n",
      "IFRS'. Here's some text for inspiration: Generally Accepted Accounting Principles (GAAP) and\n",
      "International Financial Reporting Standards (IFRS) were designed with similar objectives in mind: to\n",
      "provide a common and structured set of guidelines to assist in the preparation of accurate and\n",
      "unbiased financial reporting for public corporations. Instead of a traditional textbook approach,\n",
      "use a story-based narrative to explain the concept. Try to: - Avoid technical jargon and present the\n",
      "ideas in a straightforward, conversational tone to spark curiosity and relate to the experiences of\n",
      "a younger audience. - Include interactive elements like thought experiments and real-life scenarios.\n",
      "The goal is to topic approachable and fun, sparking curiosity about how it applies to everyday life.\n",
      "- Do not use introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the\n",
      "end. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Life, Liberty, and the Pursuit of Happiness', tailored\n",
      "for 5 to 10 year-old children. Opt for a playful and imaginative approach, suitable for very young\n",
      "learners. We are writing on chapter '1844–1877'. We have already covered the following units in this\n",
      "chapter: '🔎 Thomas Sims and the Fugitive Slave Act of 1850', '🔎 Thomas Sims and the Fugitive Slave\n",
      "Act of 1850', '🔎 Harriett Beecher Stowe and <i> Uncle Tom’s Cabin</i>', '🔎 Nativist Riots and the\n",
      "Know-Nothing Party', '🔎 Charles Sumner and Preston Brooks'. Write a new unit titled 🔎 The Election\n",
      "of 1860. Here's some text for inspiration: By the end of this section, you will: * Describe the\n",
      "effects of Lincoln’s election. In this module for young children, aim to: - Use very simple,\n",
      "everyday words and phrases that a 5-year-old would easily understand, avoiding any complex concepts\n",
      "or technical terms. - Tell a short, engaging story with colorful cartoon characters. For instance,\n",
      "to illustrate economic trade concepts use characters like animals or friendly creatures trading\n",
      "snacks or toys. Another example is addition and calculus, use apples to explain: '2 apples + 3\n",
      "apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'College Physics for AP® Courses 2e', tailored\n",
      "for professionals and researchers on the topic. We are writing on chapter 'Geometric Optics'. In\n",
      "particular, section 'The Law of Refraction'. We have already covered the following unit in this\n",
      "section: 'The Speed of Light'. Write a new unit titled 'Law of Refraction'. Here's some text for\n",
      "inspiration: [link] shows how a ray of light changes direction when it passes from one medium to\n",
      "another. As before, the angles are measured relative to a perpendicular to the surface at the point\n",
      "where the light ray crosses it. (Some of the incident light will be reflected from the surface, but\n",
      "for now we will concentrate on the light that is transmitted.) The change in direction of the light\n",
      "ray depends on how the speed of light changes. The change in the speed of light is related to the\n",
      "indices of refraction of the media involved. In the situations shown in [link], medium 2 has a\n",
      "greater index of refrac. The style should mirror that of a scholarly publication, not school\n",
      "textbooks, aiming to engage a highly knowledgeable audience with very deep expertise. Try to: -\n",
      "Present advanced theories, using technical and academic language. - Include critical analysis of\n",
      "recent research findings and debates in the field, with a detailed examination of empirical data and\n",
      "statistical methodologies. - The article should reflect the depth and complexity of content found in\n",
      "top-tier economics journals, intended for a readership deeply entrenched in the field. - Do not add\n",
      "come up with references or add them at the end of the article. If there are mathematical expressions\n",
      "use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Introduction to Philosophy', tailored for\n",
      "middle school students without prior knowledge on the topic. We are writing on chapter\n",
      "'Epistemology'. In particular, section 'Knowledge'. We have already covered the following unit in\n",
      "this section: 'Plato and the Traditional Account of Knowledge'. We have already covered the\n",
      "following units in this section: 'Plato and the Traditional Account of Knowledge', 'Problems with\n",
      "the Traditional Account of Knowledge'. Write a new unit titled 'Fixing Plato’s Traditional Account\n",
      "of Knowledge'. Here's some text for inspiration: Gettier cases demonstrate that Plato’s traditional\n",
      "account of knowledge as justified true belief is wrong. Specifically, Gettier cases show that a\n",
      "belief being true and justified is not sufficient for that belief to count as knowledge. In all the\n",
      "cases discussed, the subject seems to have a justified true belief but not knowledge. Notice that\n",
      "this does not mean that belief, truth, or justification is not *necessary* for knowledge. Indeed,\n",
      "when speaking of propositional knowledge, all philosophers grant that belief and truth are necessary\n",
      "conditions for knowledge. A person cannot be said to kno. Instead of a traditional textbook\n",
      "approach, use a story-based narrative to explain the concept. Try to: - Avoid technical jargon and\n",
      "present the ideas in a straightforward, conversational tone to spark curiosity and relate to the\n",
      "experiences of a younger audience. - Include interactive elements like thought experiments and\n",
      "real-life scenarios. The goal is to topic approachable and fun, sparking curiosity about how it\n",
      "applies to everyday life. - Do not use introductory phrases such as \"welcome to this unit\" at the\n",
      "beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Algebra and Trigonometry 2e', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Exponential and Logarithmic\n",
      "Functions'. In particular, section 'Exponential and Logarithmic Models'. Write a new unit titled\n",
      "'Modeling Exponential Growth and Decay'. Here's some text for inspiration: In real-world\n",
      "applications, we need to model the behavior of a function. In mathematical modeling, we choose a\n",
      "familiar general function with properties that suggest that it will model the real-world phenomenon\n",
      "we wish to analyze. In the case of rapid growth, we may choose the exponential growth function:. The\n",
      "style should mirror that of a scholarly publication, not school textbooks, aiming to engage a highly\n",
      "knowledgeable audience with very deep expertise. Try to: - Present advanced theories, using\n",
      "technical and academic language. - Include critical analysis of recent research findings and debates\n",
      "in the field, with a detailed examination of empirical data and statistical methodologies. - The\n",
      "article should reflect the depth and complexity of content found in top-tier economics journals,\n",
      "intended for a readership deeply entrenched in the field. - Do not add come up with references or\n",
      "add them at the end of the article. If there are mathematical expressions use a correct LateX\n",
      "formatting and do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Elementary Algebra 2e', tailored for 5 to 10 year-old\n",
      "children. Opt for a playful and imaginative approach, suitable for very young learners. We are\n",
      "writing on chapter 'Roots and Radicals'. In particular, section 'Solve Equations with Square Roots'.\n",
      "Write a new unit titled 'Solve Radical Equations'. Here's some text for inspiration: In this section\n",
      "we will solve equations that have the variable in the radicand of a square root. Equations of this\n",
      "type are called radical equations. In this module for young children, aim to: - Use very simple,\n",
      "everyday words and phrases that a 5-year-old would easily understand, avoiding any complex concepts\n",
      "or technical terms. - Tell a short, engaging story with colorful cartoon characters. For instance,\n",
      "to illustrate economic trade concepts use characters like animals or friendly creatures trading\n",
      "snacks or toys. Another example is addition and calculus, use apples to explain: '2 apples + 3\n",
      "apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Business Ethics', tailored for 5 to 10 year-old\n",
      "children. Opt for a playful and imaginative approach, suitable for very young learners. We are\n",
      "writing on chapter 'Changing Work Environments and Future Trends'. In particular, section\n",
      "'Alternatives to Traditional Patterns of Work'. We have already covered the following unit in this\n",
      "section: 'Job Sharing and Flextime'. Write a new unit titled 'The Access Economy and Online\n",
      "Platforms'. Here's some text for inspiration: The access economy is essentially a resource\n",
      "circulation system in which consumers participate on both sides of a transaction, as both providers\n",
      "and obtainers of resources (the transaction is usually facilitated by a third party acting as a\n",
      "go-between). The model, sometimes called peer-to-peer (or P2P), is particularly popular when the\n",
      "asset is expensive to obtain and is not fully consumed by the user (such as a house or condo). In\n",
      "the traditional capitalist economic model, goods are bought and sold by businesses and individuals,\n",
      "but in the access or sharing economy, goods and services are tra. In this module for young children,\n",
      "aim to: - Use very simple, everyday words and phrases that a 5-year-old would easily understand,\n",
      "avoiding any complex concepts or technical terms. - Tell a short, engaging story with colorful\n",
      "cartoon characters. For instance, to illustrate economic trade concepts use characters like animals\n",
      "or friendly creatures trading snacks or toys. Another example is addition and calculus, use apples\n",
      "to explain: '2 apples + 3 apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do\n",
      "not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'College Physics 2e', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Special Relativity'. In\n",
      "particular, section 'Relativistic Energy'. We have already covered the following unit in this\n",
      "section: 'Total Energy and Rest Energy'. We have already covered the following units in this\n",
      "section: 'Total Energy and Rest Energy', 'Stored Energy and Potential Energy'. We have already\n",
      "covered the following units in this section: 'Total Energy and Rest Energy', 'Stored Energy and\n",
      "Potential Energy', 'Kinetic Energy and the Ultimate Speed Limit'. Write a new unit titled\n",
      "'Relativistic Energy and Momentum'. Here's some text for inspiration: We know classically that\n",
      "kinetic energy and momentum are related to each other, since. The style should mirror that of a\n",
      "scholarly publication, not school textbooks, aiming to engage a highly knowledgeable audience with\n",
      "very deep expertise. Try to: - Present advanced theories, using technical and academic language. -\n",
      "Include critical analysis of recent research findings and debates in the field, with a detailed\n",
      "examination of empirical data and statistical methodologies. - The article should reflect the depth\n",
      "and complexity of content found in top-tier economics journals, intended for a readership deeply\n",
      "entrenched in the field. - Do not add come up with references or add them at the end of the article.\n",
      "If there are mathematical expressions use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Organizational Behavior', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Performance Appraisal and\n",
      "Rewards'. In particular, section 'Reward Systems in Organizations'. We have already covered the\n",
      "following unit in this section: 'Functions of Reward Systems'. Write a new unit titled 'Bases for\n",
      "Reward Distribution'. Here's some text for inspiration: A common reality in many contemporary work\n",
      "organizations is the inequity that exists in the distribution of available rewards. One often sees\n",
      "little correlation between those who perform well and those who receive the greatest rewards. At the\n",
      "extreme, it is hard to understand how a company could pay its president \\$10 to \\$20 million per\n",
      "year (as many large corporations do) while it pays its secretaries and clerks less than \\$15,000.\n",
      "Each works approximately 40 hours per week, and both are important for organizational performance.\n",
      "Is it really possible that the president is 1,000 times more im. The style should mirror that of a\n",
      "scholarly publication, not school textbooks, aiming to engage a highly knowledgeable audience with\n",
      "very deep expertise. Try to: - Present advanced theories, using technical and academic language. -\n",
      "Include critical analysis of recent research findings and debates in the field, with a detailed\n",
      "examination of empirical data and statistical methodologies. - The article should reflect the depth\n",
      "and complexity of content found in top-tier economics journals, intended for a readership deeply\n",
      "entrenched in the field. - Do not add come up with references or add them at the end of the article.\n",
      "If there are mathematical expressions use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Workplace Software and Skills', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'Advanced Presentation Skills'. In particular, section 'Preparing a Microsoft\n",
      "PowerPoint Collection for Presentation'. We have already covered the following unit in this section:\n",
      "'Transitions'. We have already covered the following units in this section: 'Transitions',\n",
      "'Animations'. We have already covered the following units in this section: 'Transitions',\n",
      "'Animations', 'Media Command Group'. We have already covered the following units in this section:\n",
      "'Transitions', 'Animations', 'Media Command Group', 'Finalizing Your Slideshow'. Write a new unit\n",
      "titled 'Room Setup and Technology'. In this module for young children, aim to: - Use very simple,\n",
      "everyday words and phrases that a 5-year-old would easily understand, avoiding any complex concepts\n",
      "or technical terms. - Tell a short, engaging story with colorful cartoon characters. For instance,\n",
      "to illustrate economic trade concepts use characters like animals or friendly creatures trading\n",
      "snacks or toys. Another example is addition and calculus, use apples to explain: '2 apples + 3\n",
      "apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Life, Liberty, and the Pursuit of Happiness',\n",
      "tailored for college students. We are writing on chapter '1800–1844'. In particular, section '📝 John\n",
      "Marshall’s Landmark Cases DBQ' of '1800–1828' part. Write a new unit titled 'I. Warm-Up Activity (15\n",
      "min)'. Here's some text for inspiration: Instruct students to analyze the constitutional provisions\n",
      "on the handout and work with a partner or two to write each one in their own words. Try to be: -\n",
      "Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an\n",
      "academic and engaging tone that captivates interest. - Applied: Use specific and practical examples.\n",
      "For example, if the topic is integration in calculus, include equations and proofs of the concept\n",
      "you're teaching. As another example, if the topic is the history of the United States, include\n",
      "dates, names, and key events. If there are mathematical expressions use a correct LateX formatting.\n",
      "Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Astronomy 2e', tailored for 5 to 10 year-old children.\n",
      "Opt for a playful and imaginative approach, suitable for very young learners. We are writing on\n",
      "chapter 'Radiation and Spectra'. In particular, section 'The Electromagnetic Spectrum'. We have\n",
      "already covered the following unit in this section: 'Types of Electromagnetic Radiation'. Write a\n",
      "new unit titled 'Radiation and Temperature'. Here's some text for inspiration: Some astronomical\n",
      "objects emit mostly infrared radiation, others mostly visible light, and still others mostly\n",
      "ultraviolet radiation. What determines the type of electromagnetic radiation emitted by the Sun,\n",
      "stars, and other dense astronomical objects? The answer often turns out to be their *temperature*.\n",
      "In this module for young children, aim to: - Use very simple, everyday words and phrases that a\n",
      "5-year-old would easily understand, avoiding any complex concepts or technical terms. - Tell a\n",
      "short, engaging story with colorful cartoon characters. For instance, to illustrate economic trade\n",
      "concepts use characters like animals or friendly creatures trading snacks or toys. Another example\n",
      "is addition and calculus, use apples to explain: '2 apples + 3 apples = 5 apples' . - Keep the tone\n",
      "light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'U.S. History', tailored for college students. We are\n",
      "writing on chapter 'The Jazz Age: Redefining the Nation, 1919-1929'. In particular, section\n",
      "'Republican Ascendancy: Politics in the 1920s'. Write a new unit titled 'WARREN HARDING AND THE\n",
      "RETURN TO NORMALCY'. Here's some text for inspiration: In the election of 1920, professional\n",
      "Republicans were eager to nominate a man whom they could manage and control. Warren G. Harding, a\n",
      "senator from Ohio, represented just such a man ([link]). Before his nomination, Harding stated,\n",
      "“America’s present need is not heroics but healing; not nostrums but normalcy; not revolution but\n",
      "restoration.” Harding was genial and affable, but not everyone appreciated his speeches; Democratic\n",
      "presidential-hopeful William Gibbs McAdoo described Harding’s speeches as “an army of pompous\n",
      "phrases moving across the landscape in search of an idea.” H. L. Mencken, th. Try to be: - Rigorous:\n",
      "Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and\n",
      "engaging tone that captivates interest. - Applied: Use specific and practical examples. For example,\n",
      "if the topic is integration in calculus, include equations and proofs of the concept you're\n",
      "teaching. As another example, if the topic is the history of the United States, include dates,\n",
      "names, and key events. If there are mathematical expressions use a correct LateX formatting. Do not\n",
      "use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Psychology 2e', tailored for 5 to 10 year-old\n",
      "children. Opt for a playful and imaginative approach, suitable for very young learners. We are\n",
      "writing on chapter 'Sensation and Perception'. In particular, section 'Waves and Wavelengths'. Write\n",
      "a new unit titled 'Amplitude and Wavelength'. In this module for young children, aim to: - Use very\n",
      "simple, everyday words and phrases that a 5-year-old would easily understand, avoiding any complex\n",
      "concepts or technical terms. - Tell a short, engaging story with colorful cartoon characters. For\n",
      "instance, to illustrate economic trade concepts use characters like animals or friendly creatures\n",
      "trading snacks or toys. Another example is addition and calculus, use apples to explain: '2 apples +\n",
      "3 apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Contemporary Mathematics', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Geometry'. In particular,\n",
      "section 'Right Triangle Trigonometry'. We have already covered the following unit in this section:\n",
      "'Pythagorean Theorem'. We have already covered the following units in this section: 'Pythagorean\n",
      "Theorem', 'Distance'. We have already covered the following units in this section: 'Pythagorean\n",
      "Theorem', 'Distance', '${30}^{\\circ }\\text{-}{60}^{\\circ }\\text{-}{90}^{\\circ }$ Triangles'. We have\n",
      "already covered the following units in this section: 'Pythagorean Theorem', 'Distance',\n",
      "'${30}^{\\circ }\\text{-}{60}^{\\circ }\\text{-}{90}^{\\circ }$ Triangles', '$4{5}^{\\circ\n",
      "}\\text{-}4{5}^{\\circ }\\text{-}9{0}^{\\circ }$ Triangles'. Write a new unit titled 'Trigonometry\n",
      "Functions'. The style should mirror that of a scholarly publication, not school textbooks, aiming to\n",
      "engage a highly knowledgeable audience with very deep expertise. Try to: - Present advanced\n",
      "theories, using technical and academic language. - Include critical analysis of recent research\n",
      "findings and debates in the field, with a detailed examination of empirical data and statistical\n",
      "methodologies. - The article should reflect the depth and complexity of content found in top-tier\n",
      "economics journals, intended for a readership deeply entrenched in the field. - Do not add come up\n",
      "with references or add them at the end of the article. If there are mathematical expressions use a\n",
      "correct LateX formatting and do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Principles of Macroeconomics for AP® Courses\n",
      "2e', tailored for middle school students without prior knowledge on the topic. We are writing on\n",
      "chapter 'The International Trade and Capital Flows'. In particular, section 'The National Saving and\n",
      "Investment Identity'. We have already covered the following unit in this section: 'Understanding the\n",
      "Determinants of the Trade and Current Account Balance'. We have already covered the following units\n",
      "in this section: 'Understanding the Determinants of the Trade and Current Account Balance',\n",
      "'Domestic Saving and Investment Determine the Trade Balance'. We have already covered the following\n",
      "units in this section: 'Understanding the Determinants of the Trade and Current Account Balance',\n",
      "'Domestic Saving and Investment Determine the Trade Balance', 'Exploring Trade Balances One Factor\n",
      "at a Time'. Write a new unit titled 'Short-Term Movements in the Business Cycle and the Trade\n",
      "Balance'. Instead of a traditional textbook approach, use a story-based narrative to explain the\n",
      "concept. Try to: - Avoid technical jargon and present the ideas in a straightforward, conversational\n",
      "tone to spark curiosity and relate to the experiences of a younger audience. - Include interactive\n",
      "elements like thought experiments and real-life scenarios. The goal is to topic approachable and\n",
      "fun, sparking curiosity about how it applies to everyday life. - Do not use introductory phrases\n",
      "such as \"welcome to this unit\" at the beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Introduction to Anthropology', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Social Inequalities'. In\n",
      "particular, section 'Theories of Inequity and Inequality'. We have already covered the following\n",
      "unit in this section: 'Social Stratification'. Write a new unit titled 'Levels of Inequality'.\n",
      "Here's some text for inspiration: Although it is important to understand the ways in which societies\n",
      "control resource accumulation, it is also important to study the phenomena and experiences of\n",
      "inequality in one’s own culture. This section will examine how individuals experience different\n",
      "levels of social inequalities. In contemporary societies, experiences of social inequalities often\n",
      "have roots in systems of capitalism, colonialism, racism, and sexism, which all include a perceived\n",
      "superiority of one group over another. The style should mirror that of a scholarly publication, not\n",
      "school textbooks, aiming to engage a highly knowledgeable audience with very deep expertise. Try to:\n",
      "- Present advanced theories, using technical and academic language. - Include critical analysis of\n",
      "recent research findings and debates in the field, with a detailed examination of empirical data and\n",
      "statistical methodologies. - The article should reflect the depth and complexity of content found in\n",
      "top-tier economics journals, intended for a readership deeply entrenched in the field. - Do not add\n",
      "come up with references or add them at the end of the article. If there are mathematical expressions\n",
      "use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Astronomy 2e', tailored for 5 to 10 year-old children.\n",
      "Opt for a playful and imaginative approach, suitable for very young learners. We are writing on\n",
      "chapter 'Orbits and Gravity'. In particular, section 'Newton’s Great Synthesis'. We have already\n",
      "covered the following unit in this section: 'Newton’s Laws of Motion'. Write a new unit titled\n",
      "'Interpretation of Newton’s Laws'. In this module for young children, aim to: - Use very simple,\n",
      "everyday words and phrases that a 5-year-old would easily understand, avoiding any complex concepts\n",
      "or technical terms. - Tell a short, engaging story with colorful cartoon characters. For instance,\n",
      "to illustrate economic trade concepts use characters like animals or friendly creatures trading\n",
      "snacks or toys. Another example is addition and calculus, use apples to explain: '2 apples + 3\n",
      "apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Astronomy 2e', tailored for 5 to 10 year-old children.\n",
      "Opt for a playful and imaginative approach, suitable for very young learners. We are writing on\n",
      "chapter 'Rings, Moons, and Pluto'. In particular, section 'Pluto and Charon'. We have already\n",
      "covered the following unit in this section: 'Is Pluto a Planet?'. We have already covered the\n",
      "following units in this section: 'Is Pluto a Planet?', 'The Nature of Pluto'. Write a new unit\n",
      "titled 'Geology of Pluto'. In this module for young children, aim to: - Use very simple, everyday\n",
      "words and phrases that a 5-year-old would easily understand, avoiding any complex concepts or\n",
      "technical terms. - Tell a short, engaging story with colorful cartoon characters. For instance, to\n",
      "illustrate economic trade concepts use characters like animals or friendly creatures trading snacks\n",
      "or toys. Another example is addition and calculus, use apples to explain: '2 apples + 3 apples = 5\n",
      "apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'University Physics Volume 2', tailored for college\n",
      "students. We are writing on chapter 'Electricity and Magnetism'. In particular, section 'Conductors,\n",
      "Insulators, and Charging by Induction' of 'Electric Charges and Fields' part. Write a new unit\n",
      "titled 'Conductors and Insulators'. Here's some text for inspiration: As discussed in the previous\n",
      "section, electrons surround the tiny nucleus in the form of a (comparatively) vast cloud of negative\n",
      "charge. However, this cloud does have a definite structure to it. Let’s consider an atom of the most\n",
      "commonly used conductor, copper. Try to be: - Rigorous: Ensure very detailed and in-depth coverage\n",
      "of the concepts. - Engaging: Write with an academic and engaging tone that captivates interest. -\n",
      "Applied: Use specific and practical examples. For example, if the topic is integration in calculus,\n",
      "include equations and proofs of the concept you're teaching. As another example, if the topic is the\n",
      "history of the United States, include dates, names, and key events. If there are mathematical\n",
      "expressions use a correct LateX formatting. Do not use images and avoid introductory phrases such as\n",
      "\"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Introductory Statistics 2e', tailored for\n",
      "middle school students without prior knowledge on the topic. We are writing on chapter 'Linear\n",
      "Regression and Correlation'. In particular, section 'The Regression Equation'. Write a new unit\n",
      "titled 'Residuals Plots'. Here's some text for inspiration: A residuals plot can be used to help\n",
      "determine if a set of (*x*, *y*) data is linearly correlated. For each data point used to create the\n",
      "correlation line, a residual *y* - *y* can be calculated, where y is the observed value of the\n",
      "response variable and *y* is the value predicted by the correlation line. The difference between\n",
      "these values is called the residual. A residuals plot shows the explanatory variable *x* on the\n",
      "horizontal axis and the residual for that value on the vertical axis. The residuals plot is often\n",
      "shown together with a scatter plot of the data. While a scatter plot of the. Instead of a\n",
      "traditional textbook approach, use a story-based narrative to explain the concept. Try to: - Avoid\n",
      "technical jargon and present the ideas in a straightforward, conversational tone to spark curiosity\n",
      "and relate to the experiences of a younger audience. - Include interactive elements like thought\n",
      "experiments and real-life scenarios. The goal is to topic approachable and fun, sparking curiosity\n",
      "about how it applies to everyday life. - Do not use introductory phrases such as \"welcome to this\n",
      "unit\" at the beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Principles of Economics 3e', tailored for college\n",
      "students. We are writing on chapter 'Monopoly and Antitrust Policy'. In particular, section\n",
      "'Corporate Mergers'. Write a new unit titled 'Regulations for Approving Mergers'. Try to be: -\n",
      "Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an\n",
      "academic and engaging tone that captivates interest. - Applied: Use specific and practical examples.\n",
      "For example, if the topic is integration in calculus, include equations and proofs of the concept\n",
      "you're teaching. As another example, if the topic is the history of the United States, include\n",
      "dates, names, and key events. If there are mathematical expressions use a correct LateX formatting.\n",
      "Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Introduction to Philosophy', tailored for college\n",
      "students. We are writing on chapter 'Logic and Reasoning'. In particular, section 'Arguments'. We\n",
      "have already covered the following unit in this section: 'Getting to the Premises'. Write a new unit\n",
      "titled 'The Difference between Truth and Logic'. Try to be: - Rigorous: Ensure very detailed and\n",
      "in-depth coverage of the concepts. - Engaging: Write with an academic and engaging tone that\n",
      "captivates interest. - Applied: Use specific and practical examples. For example, if the topic is\n",
      "integration in calculus, include equations and proofs of the concept you're teaching. As another\n",
      "example, if the topic is the history of the United States, include dates, names, and key events. If\n",
      "there are mathematical expressions use a correct LateX formatting. Do not use images and avoid\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Intermediate Algebra 2e', tailored for college\n",
      "students. We are writing on chapter 'Foundations'. In particular, section 'Fractions'. We have\n",
      "already covered the following unit in this section: 'Simplify Fractions'. We have already covered\n",
      "the following units in this section: 'Simplify Fractions', 'Multiply and Divide Fractions'. Write a\n",
      "new unit titled 'Add and Subtract Fractions'. Try to be: - Rigorous: Ensure very detailed and\n",
      "in-depth coverage of the concepts. - Engaging: Write with an academic and engaging tone that\n",
      "captivates interest. - Applied: Use specific and practical examples. For example, if the topic is\n",
      "integration in calculus, include equations and proofs of the concept you're teaching. As another\n",
      "example, if the topic is the history of the United States, include dates, names, and key events. If\n",
      "there are mathematical expressions use a correct LateX formatting. Do not use images and avoid\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'College Physics 2e', tailored for college students.\n",
      "We are writing on chapter 'Fluid Statics'. In particular, section 'Cohesion and Adhesion in Liquids:\n",
      "Surface Tension and Capillary Action'. We have already covered the following unit in this section:\n",
      "'Cohesion and Adhesion in Liquids'. We have already covered the following units in this section:\n",
      "'Cohesion and Adhesion in Liquids', 'Surface Tension'. Write a new unit titled 'Adhesion and\n",
      "Capillary Action'. Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the\n",
      "concepts. - Engaging: Write with an academic and engaging tone that captivates interest. - Applied:\n",
      "Use specific and practical examples. For example, if the topic is integration in calculus, include\n",
      "equations and proofs of the concept you're teaching. As another example, if the topic is the history\n",
      "of the United States, include dates, names, and key events. If there are mathematical expressions\n",
      "use a correct LateX formatting. Do not use images and avoid introductory phrases such as \"welcome to\n",
      "this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'College Algebra with Corequisite Support 2e',\n",
      "tailored for college students. We are writing on chapter 'Polynomial and Rational Functions'. In\n",
      "particular, section 'Graphs of Polynomial Functions'. Write a new unit titled 'Recognizing\n",
      "Characteristics of Graphs of Polynomial Functions'. Here's some text for inspiration: Polynomial\n",
      "functions of degree 2 or more have graphs that do not have sharp corners; recall that these types of\n",
      "graphs are called smooth curves. Polynomial functions also display graphs that have no breaks.\n",
      "Curves with no breaks are called continuous. [link] shows a graph that represents a polynomial\n",
      "function and a graph that represents a function that is not a polynomial. Try to be: - Rigorous:\n",
      "Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an academic and\n",
      "engaging tone that captivates interest. - Applied: Use specific and practical examples. For example,\n",
      "if the topic is integration in calculus, include equations and proofs of the concept you're\n",
      "teaching. As another example, if the topic is the history of the United States, include dates,\n",
      "names, and key events. If there are mathematical expressions use a correct LateX formatting. Do not\n",
      "use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Workplace Software and Skills', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'Integrating Applications'. In particular, section 'Microsoft Excel and\n",
      "Microsoft PowerPoint Integration'. Write a new unit titled 'Add Microsoft PowerPoint Slides to\n",
      "Microsoft Excel Worksheets'. In this module for young children, aim to: - Use very simple, everyday\n",
      "words and phrases that a 5-year-old would easily understand, avoiding any complex concepts or\n",
      "technical terms. - Tell a short, engaging story with colorful cartoon characters. For instance, to\n",
      "illustrate economic trade concepts use characters like animals or friendly creatures trading snacks\n",
      "or toys. Another example is addition and calculus, use apples to explain: '2 apples + 3 apples = 5\n",
      "apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Principles of Microeconomics 3e', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'Production, Costs, and Industry Structure'. In particular, section 'Costs in\n",
      "the Short Run'. We have already covered the following unit in this section: 'Average and Marginal\n",
      "Costs'. We have already covered the following units in this section: 'Average and Marginal Costs',\n",
      "'Fixed and Variable Costs'. We have already covered the following units in this section: 'Average\n",
      "and Marginal Costs', 'Fixed and Variable Costs', 'Average Total Cost, Average Variable Cost,\n",
      "Marginal Cost'. Write a new unit titled 'Lessons from Alternative Measures of Costs'. Here's some\n",
      "text for inspiration: Breaking down total costs into fixed cost, marginal cost, average total cost,\n",
      "and average variable cost is useful because each statistic offers its own insights for the firm. In\n",
      "this module for young children, aim to: - Use very simple, everyday words and phrases that a\n",
      "5-year-old would easily understand, avoiding any complex concepts or technical terms. - Tell a\n",
      "short, engaging story with colorful cartoon characters. For instance, to illustrate economic trade\n",
      "concepts use characters like animals or friendly creatures trading snacks or toys. Another example\n",
      "is addition and calculus, use apples to explain: '2 apples + 3 apples = 5 apples' . - Keep the tone\n",
      "light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Calculus Volume 2', tailored for\n",
      "professionals and researchers on the topic. We are writing on chapter 'Techniques of Integration'.\n",
      "In particular, section 'Partial Fractions'. We have already covered the following unit in this\n",
      "section: 'Nonrepeated Linear Factors'. We have already covered the following units in this section:\n",
      "'Nonrepeated Linear Factors', 'Repeated Linear Factors'. Write a new unit titled 'The General\n",
      "Method'. Here's some text for inspiration: Now that we are beginning to get the idea of how the\n",
      "technique of partial fraction decomposition works, let’s outline the basic method in the following\n",
      "problem-solving strategy. The style should mirror that of a scholarly publication, not school\n",
      "textbooks, aiming to engage a highly knowledgeable audience with very deep expertise. Try to: -\n",
      "Present advanced theories, using technical and academic language. - Include critical analysis of\n",
      "recent research findings and debates in the field, with a detailed examination of empirical data and\n",
      "statistical methodologies. - The article should reflect the depth and complexity of content found in\n",
      "top-tier economics journals, intended for a readership deeply entrenched in the field. - Do not add\n",
      "come up with references or add them at the end of the article. If there are mathematical expressions\n",
      "use a correct LateX formatting and do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Writing Guide with Handbook', tailored for college\n",
      "students. We are writing on chapter 'Bridging the Divide Between Personal Identity and Academia'. In\n",
      "particular, section 'Glance at Genre: Subject, Angle, Background, and Description' of 'Profile:\n",
      "Telling a Rich and Compelling Story' part. We have already covered the following unit in this\n",
      "section: 'Potential Profile Subjects and Angles'. Write a new unit titled 'Defining Terms and\n",
      "Writing in the Genre'. Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the\n",
      "concepts. - Engaging: Write with an academic and engaging tone that captivates interest. - Applied:\n",
      "Use specific and practical examples. For example, if the topic is integration in calculus, include\n",
      "equations and proofs of the concept you're teaching. As another example, if the topic is the history\n",
      "of the United States, include dates, names, and key events. If there are mathematical expressions\n",
      "use a correct LateX formatting. Do not use images and avoid introductory phrases such as \"welcome to\n",
      "this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Biology 2e', tailored for college students. We are\n",
      "writing on chapter 'Ecology'. In particular, section 'Climate and the Effects of Global Climate\n",
      "Change' of 'Ecology and the Biosphere' part. We have already covered the following unit in this\n",
      "section: 'Climate and Weather'. Write a new unit titled 'Global Climate Change'. Here's some text\n",
      "for inspiration: Climate change can be understood by approaching three areas of study:. Try to be: -\n",
      "Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an\n",
      "academic and engaging tone that captivates interest. - Applied: Use specific and practical examples.\n",
      "For example, if the topic is integration in calculus, include equations and proofs of the concept\n",
      "you're teaching. As another example, if the topic is the history of the United States, include\n",
      "dates, names, and key events. If there are mathematical expressions use a correct LateX formatting.\n",
      "Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Introduction to Intellectual Property', tailored for 5\n",
      "to 10 year-old children. Opt for a playful and imaginative approach, suitable for very young\n",
      "learners. We are writing on chapter 'Trade Secret Basics'. In particular, section 'Remedies\n",
      "Available for the Misappropriation of Trade Secrets'. Write a new unit titled 'Injunctive Relief'.\n",
      "Here's some text for inspiration: As discussed above, under the UTSA, injunctive relief is available\n",
      "to enjoin actual, as well as threatened, misappropriation. Injunctive relief allows the owner of a\n",
      "trade secret to obtain a court order prohibiting the actual or threatened misappropriation of a\n",
      "trade secret. The ability to enjoin threatened misappropriation is very important because it enables\n",
      "the owner of the trade secret to prevent public disclosure of the trade secret.[footnote] Injunctive\n",
      "relief may take many forms. The scope of an injunction may vary from a broad prohibition on any use\n",
      "of material found to be a trade se. In this module for young children, aim to: - Use very simple,\n",
      "everyday words and phrases that a 5-year-old would easily understand, avoiding any complex concepts\n",
      "or technical terms. - Tell a short, engaging story with colorful cartoon characters. For instance,\n",
      "to illustrate economic trade concepts use characters like animals or friendly creatures trading\n",
      "snacks or toys. Another example is addition and calculus, use apples to explain: '2 apples + 3\n",
      "apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Precalculus 2e', tailored for college students. We\n",
      "are writing on chapter 'Systems of Equations and Inequalities'. In particular, section 'Solving\n",
      "Systems with Gaussian Elimination'. We have already covered the following unit in this section:\n",
      "'Writing the Augmented Matrix of a System of Equations'. Write a new unit titled 'Writing a System\n",
      "of Equations from an Augmented Matrix'. Try to be: - Rigorous: Ensure very detailed and in-depth\n",
      "coverage of the concepts. - Engaging: Write with an academic and engaging tone that captivates\n",
      "interest. - Applied: Use specific and practical examples. For example, if the topic is integration\n",
      "in calculus, include equations and proofs of the concept you're teaching. As another example, if the\n",
      "topic is the history of the United States, include dates, names, and key events. If there are\n",
      "mathematical expressions use a correct LateX formatting. Do not use images and avoid introductory\n",
      "phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Create an extract of a scientific journal article for 'Prealgebra 2e', tailored for professionals\n",
      "and researchers on the topic. We are writing on chapter 'Decimals'. In particular, section 'Ratios\n",
      "and Rate'. We have already covered the following unit in this section: 'Write a Ratio as a\n",
      "Fraction'. We have already covered the following units in this section: 'Write a Ratio as a\n",
      "Fraction', 'Write a Rate as a Fraction'. Write a new unit titled 'Find Unit Rates'. Here's some text\n",
      "for inspiration: In the last example, we calculated that Bob was driving at a rate of\n",
      "$\\frac{\\text{175 miles}}{\\text{3 hours}}.$ This tells us that every three hours, Bob will travel\n",
      "$175$ miles. This is correct, but not very useful. We usually want the rate to reflect the number of\n",
      "miles in one hour. A rate that has a denominator of $1$ unit is referred to as a unit rate. The\n",
      "style should mirror that of a scholarly publication, not school textbooks, aiming to engage a highly\n",
      "knowledgeable audience with very deep expertise. Try to: - Present advanced theories, using\n",
      "technical and academic language. - Include critical analysis of recent research findings and debates\n",
      "in the field, with a detailed examination of empirical data and statistical methodologies. - The\n",
      "article should reflect the depth and complexity of content found in top-tier economics journals,\n",
      "intended for a readership deeply entrenched in the field. - Do not add come up with references or\n",
      "add them at the end of the article. If there are mathematical expressions use a correct LateX\n",
      "formatting and do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Principles of Microeconomics 3e', tailored\n",
      "for middle school students without prior knowledge on the topic. We are writing on chapter 'Labor\n",
      "and Financial Markets'. In particular, section 'Demand and Supply at Work in Labor Markets'. We have\n",
      "already covered the following unit in this section: 'Equilibrium in the Labor Market'. We have\n",
      "already covered the following units in this section: 'Equilibrium in the Labor Market', 'Shifts in\n",
      "Labor Demand'. We have already covered the following units in this section: 'Equilibrium in the\n",
      "Labor Market', 'Shifts in Labor Demand', 'Shifts in Labor Supply'. We have already covered the\n",
      "following units in this section: 'Equilibrium in the Labor Market', 'Shifts in Labor Demand',\n",
      "'Shifts in Labor Supply', 'Technology and Wage Inequality: The Four-Step Process'. Write a new unit\n",
      "titled 'Price Floors in the Labor Market: Living Wages and Minimum Wages'. Here's some text for\n",
      "inspiration: In contrast to goods and services markets, price ceilings are rare in labor markets,\n",
      "because rules that prevent people from earning income are not politically popular. There is one\n",
      "exception: boards of trustees or stockholders, as an example, propose limits on the high incomes of\n",
      "top business executives. Instead of a traditional textbook approach, use a story-based narrative to\n",
      "explain the concept. Try to: - Avoid technical jargon and present the ideas in a straightforward,\n",
      "conversational tone to spark curiosity and relate to the experiences of a younger audience. -\n",
      "Include interactive elements like thought experiments and real-life scenarios. The goal is to topic\n",
      "approachable and fun, sparking curiosity about how it applies to everyday life. - Do not use\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end. Do not\n",
      "use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Introduction to Political Science', tailored\n",
      "for middle school students without prior knowledge on the topic. We are writing on chapter\n",
      "'Institutions'. In particular, section 'The Media as a Political Institution: Why Does It Matter?'\n",
      "of 'The Media' part. Write a new unit titled 'The Fourth Estate and Freedom of the Press'. Instead\n",
      "of a traditional textbook approach, use a story-based narrative to explain the concept. Try to: -\n",
      "Avoid technical jargon and present the ideas in a straightforward, conversational tone to spark\n",
      "curiosity and relate to the experiences of a younger audience. - Include interactive elements like\n",
      "thought experiments and real-life scenarios. The goal is to topic approachable and fun, sparking\n",
      "curiosity about how it applies to everyday life. - Do not use introductory phrases such as \"welcome\n",
      "to this unit\" at the beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Algebra and Trigonometry 2e', tailored for 5 to 10\n",
      "year-old children. Opt for a playful and imaginative approach, suitable for very young learners. We\n",
      "are writing on chapter 'The Unit Circle: Sine and Cosine Functions'. In particular, section\n",
      "'Angles'. We have already covered the following unit in this section: 'Drawing Angles in Standard\n",
      "Position'. We have already covered the following units in this section: 'Drawing Angles in Standard\n",
      "Position', 'Converting Between Degrees and Radians'. We have already covered the following units in\n",
      "this section: 'Drawing Angles in Standard Position', 'Converting Between Degrees and Radians',\n",
      "'Finding Coterminal Angles'. We have already covered the following units in this section: 'Drawing\n",
      "Angles in Standard Position', 'Converting Between Degrees and Radians', 'Finding Coterminal Angles',\n",
      "'Determining the Length of an Arc'. We have already covered the following units in this section:\n",
      "'Drawing Angles in Standard Position', 'Converting Between Degrees and Radians', 'Finding Coterminal\n",
      "Angles', 'Determining the Length of an Arc', 'Finding the Area of a Sector of a Circle'. Write a new\n",
      "unit titled 'Use Linear and Angular Speed to Describe Motion on a Circular Path'. In this module for\n",
      "young children, aim to: - Use very simple, everyday words and phrases that a 5-year-old would easily\n",
      "understand, avoiding any complex concepts or technical terms. - Tell a short, engaging story with\n",
      "colorful cartoon characters. For instance, to illustrate economic trade concepts use characters like\n",
      "animals or friendly creatures trading snacks or toys. Another example is addition and calculus, use\n",
      "apples to explain: '2 apples + 3 apples = 5 apples' . - Keep the tone light, cheerful, and\n",
      "encouraging. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Principles of Finance', tailored for 5 to 10 year-old\n",
      "children. Opt for a playful and imaginative approach, suitable for very young learners. We are\n",
      "writing on chapter 'Corporate Structure and Governance'. In particular, section 'Role of the Board\n",
      "of Directors'. We have already covered the following unit in this section: 'Functions of a Board of\n",
      "Directors'. We have already covered the following units in this section: 'Functions of a Board of\n",
      "Directors', 'Oversight: Corporate Governance'. We have already covered the following units in this\n",
      "section: 'Functions of a Board of Directors', 'Oversight: Corporate Governance', 'The Importance of\n",
      "Independence in Boards of Directors'. Write a new unit titled 'The Importance of Diversity in Boards\n",
      "of Directors'. Here's some text for inspiration: As mentioned earlier, diversity can be an important\n",
      "quality for any board of directors. Increasingly over recent years, corporate management has begun\n",
      "to appreciate the value of diversity in boards of directors. This has resulted in a significant\n",
      "increase in the total number of women and people of color in boardrooms in the United States.\n",
      "However, many business observers believe that corporate governance practices have a long way to go\n",
      "in this respect. Increasing representation has now grown to become a high priority for most\n",
      "businesses and organizations around the world. In this module for young children, aim to: - Use very\n",
      "simple, everyday words and phrases that a 5-year-old would easily understand, avoiding any complex\n",
      "concepts or technical terms. - Tell a short, engaging story with colorful cartoon characters. For\n",
      "instance, to illustrate economic trade concepts use characters like animals or friendly creatures\n",
      "trading snacks or toys. Another example is addition and calculus, use apples to explain: '2 apples +\n",
      "3 apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not use images.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'College Success', tailored for middle school\n",
      "students without prior knowledge on the topic. We are writing on chapter 'Planning Your Academic\n",
      "Pathways'. In particular, section 'Planning Your Degree Path'. We have already covered the following\n",
      "unit in this section: 'Types of Degrees'. We have already covered the following units in this\n",
      "section: 'Types of Degrees', 'Majors and Minors'. Write a new unit titled 'Preprofessional\n",
      "Programs'. Instead of a traditional textbook approach, use a story-based narrative to explain the\n",
      "concept. Try to: - Avoid technical jargon and present the ideas in a straightforward, conversational\n",
      "tone to spark curiosity and relate to the experiences of a younger audience. - Include interactive\n",
      "elements like thought experiments and real-life scenarios. The goal is to topic approachable and\n",
      "fun, sparking curiosity about how it applies to everyday life. - Do not use introductory phrases\n",
      "such as \"welcome to this unit\" at the beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Psychology 2e', tailored for college students. We\n",
      "are writing on chapter 'Psychological Disorders'. In particular, section 'Anxiety Disorders'. We\n",
      "have already covered the following unit in this section: 'Specific Phobia'. We have already covered\n",
      "the following units in this section: 'Specific Phobia', 'Acquisition of Phobias Through Learning'.\n",
      "Write a new unit titled 'Social Anxiety Disorder'. Here's some text for inspiration: Social anxiety\n",
      "disorder (formerly called social phobia) is characterized by extreme and persistent fear or anxiety\n",
      "and avoidance of social situations in which the person could potentially be evaluated negatively by\n",
      "others (APA, 2013). As with specific phobias, social anxiety disorder is common in the United\n",
      "States; a little over 12% of all Americans experience social anxiety disorder during their lifetime\n",
      "(Kessler et al., 2005). Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the\n",
      "concepts. - Engaging: Write with an academic and engaging tone that captivates interest. - Applied:\n",
      "Use specific and practical examples. For example, if the topic is integration in calculus, include\n",
      "equations and proofs of the concept you're teaching. As another example, if the topic is the history\n",
      "of the United States, include dates, names, and key events. If there are mathematical expressions\n",
      "use a correct LateX formatting. Do not use images and avoid introductory phrases such as \"welcome to\n",
      "this unit\" at the beginning or conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Life, Liberty, and the Pursuit of Happiness',\n",
      "tailored for college students. We are writing on chapter '1980–Present'. We have already covered the\n",
      "following units in this chapter: '🔎 Timothy McVeigh and the Oklahoma City Bombing', '🔎 Ronald Reagan\n",
      "and Supply-Side Economics', '🔎 The Iran-Contra Affair'. Write a new unit titled 🔎 Tech Giants: Steve\n",
      "Jobs and Bill Gates. Here's some text for inspiration: By the end of this section, you will: *\n",
      "Explain the causes and effects of economic and technological change over time. Try to be: -\n",
      "Rigorous: Ensure very detailed and in-depth coverage of the concepts. - Engaging: Write with an\n",
      "academic and engaging tone that captivates interest. - Applied: Use specific and practical examples.\n",
      "For example, if the topic is integration in calculus, include equations and proofs of the concept\n",
      "you're teaching. As another example, if the topic is the history of the United States, include\n",
      "dates, names, and key events. If there are mathematical expressions use a correct LateX formatting.\n",
      "Do not use images and avoid introductory phrases such as \"welcome to this unit\" at the beginning or\n",
      "conclusions the end.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Introduction to Political Science', tailored for\n",
      "college students. We are writing on chapter 'Groups'. In particular, section 'How Do People\n",
      "Participate in Elections?' of 'Interest Groups, Political Parties, and Elections' part. We have\n",
      "already covered the following units in this section: 'Electoral Districts and Plurality and\n",
      "Proportional Representation', 'Direct Democracy: Ballot Initiatives and Referendums'. Write a new\n",
      "unit titled 'Election Regulations in the United States'. Here's some text for inspiration: In the\n",
      "United States, the federal government plays only a limited role in regulating campaigns and\n",
      "elections. This is due in part to the idea behind the federal system of American government, which\n",
      "balances power between the federal government and the states. As such, states are free to oversee\n",
      "their own election processes so long as they do not violate existing federal laws or state statutes.\n",
      "For example, since 1998 Oregon has used mail-in ballots, where all registered voters receive ballots\n",
      "three weeks before Election Day. Priscilla Southwell, “Mail-In Voting Lessons from Oregon, the\n",
      "State. Try to be: - Rigorous: Ensure very detailed and in-depth coverage of the concepts. -\n",
      "Engaging: Write with an academic and engaging tone that captivates interest. - Applied: Use specific\n",
      "and practical examples. For example, if the topic is integration in calculus, include equations and\n",
      "proofs of the concept you're teaching. As another example, if the topic is the history of the United\n",
      "States, include dates, names, and key events. If there are mathematical expressions use a correct\n",
      "LateX formatting. Do not use images and avoid introductory phrases such as \"welcome to this unit\" at\n",
      "the beginning or conclusions the end.\n",
      "------\n",
      "Create an engaging and accessible e-learning module on 'Elementary Algebra 2e', tailored for middle\n",
      "school students without prior knowledge on the topic. We are writing on chapter 'Polynomials'. In\n",
      "particular, section 'Divide Polynomials'. We have already covered the following unit in this\n",
      "section: 'Divide a Polynomial by a Monomial'. Write a new unit titled 'Divide a Polynomial by a\n",
      "Binomial'. Here's some text for inspiration: To divide a polynomial by a binomial, we follow a\n",
      "procedure very similar to long division of numbers. So let’s look carefully the steps we take when\n",
      "we divide a 3-digit number, 875, by a 2-digit number, 25. Instead of a traditional textbook\n",
      "approach, use a story-based narrative to explain the concept. Try to: - Avoid technical jargon and\n",
      "present the ideas in a straightforward, conversational tone to spark curiosity and relate to the\n",
      "experiences of a younger audience. - Include interactive elements like thought experiments and\n",
      "real-life scenarios. The goal is to topic approachable and fun, sparking curiosity about how it\n",
      "applies to everyday life. - Do not use introductory phrases such as \"welcome to this unit\" at the\n",
      "beginning or conclusions the end. Do not use images.\n",
      "------\n",
      "Create a fun and simple e-learning module on 'Principles of Accounting, Volume 1: Financial\n",
      "Accounting', tailored for 5 to 10 year-old children. Opt for a playful and imaginative approach,\n",
      "suitable for very young learners. We are writing on chapter 'Role of Accounting in Society'. In\n",
      "particular, section 'Describe Typical Accounting Activities and the Role Accountants Play in\n",
      "Identifying, Recording, and Reporting Financial Activities'. Write a new unit titled 'For-Profit\n",
      "Businesses'. Here's some text for inspiration: As the name implies, the primary purpose or mission\n",
      "of a for-profit business is to earn a profit by selling goods and services. There are many reasons\n",
      "why a for-profit business seeks to earn a profit. The profits generated by these organizations might\n",
      "be used to create value for employees in the form of pay raises for existing employees as well as\n",
      "hiring additional workers. In addition, profits can be reinvested in the business to create value in\n",
      "the form of research and development, equipment upgrades, facilities expansions, and many other\n",
      "activities that make the business more competitive. M. In this module for young children, aim to: -\n",
      "Use very simple, everyday words and phrases that a 5-year-old would easily understand, avoiding any\n",
      "complex concepts or technical terms. - Tell a short, engaging story with colorful cartoon\n",
      "characters. For instance, to illustrate economic trade concepts use characters like animals or\n",
      "friendly creatures trading snacks or toys. Another example is addition and calculus, use apples to\n",
      "explain: '2 apples + 3 apples = 5 apples' . - Keep the tone light, cheerful, and encouraging. Do not\n",
      "use images.\n",
      "------\n",
      "Write a comprehensive and in-depth textbook on 'Anatomy and Physiology 2e', tailored for college\n",
      "students. We are writing on chapter 'Support and Movement'. In particular, section 'Skeletal Muscle\n",
      "' of 'Muscle Tissue' part. We have already covered the following unit in this section: 'Skeletal\n",
      "Muscle Fibers'. Write a new unit titled 'The Sarcomere'. Try to be: - Rigorous: Ensure very detailed\n",
      "and in-depth coverage of the concepts. - Engaging: Write with an academic and engaging tone that\n",
      "captivates interest. - Applied: Use specific and practical examples. For example, if the topic is\n",
      "integration in calculus, include equations and proofs of the concept you're teaching. As another\n",
      "example, if the topic is the history of the United States, include dates, names, and key events. If\n",
      "there are mathematical expressions use a correct LateX formatting. Do not use images and avoid\n",
      "introductory phrases such as \"welcome to this unit\" at the beginning or conclusions the end.\n",
      "------\n"
     ]
    }
   ],
   "source": [
    "for prompt in data.prompt[:100]:\n",
    "    print_in_lines(prompt, 100)\n",
    "\n",
    "    print('------')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array(['researchers', 'young_children', 'college_students',\n",
       "       'high_school_studnets'], dtype=object)"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.audience.unique()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Stanford"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "from pathlib import Path\n",
    "import re\n",
    "\n",
    "def print_in_lines(text, line_length):\n",
    "    words        = text.split()\n",
    "    lines        = []\n",
    "    current_line = ''\n",
    "    for word in words:\n",
    "        if len(current_line + word) <= line_length:\n",
    "            current_line = current_line + word + ' '\n",
    "        else:\n",
    "            lines.append(current_line.strip())\n",
    "            current_line = word + ' '\n",
    "    lines.append(current_line.strip())\n",
    "    for line in lines:\n",
    "        print(line)\n",
    "\n",
    "dataset_dir = Path(r'H:\\2024_03_05课程大纲\\数据\\syllabus\\datasets\\cosmopedia')\n",
    "data = pd.read_parquet(dataset_dir / 'stanford' / 'train-00000-of-00013.parquet')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Write a long and very detailed course unit for a textbook on \"Fourth-Year Japanese, Second Quarter\"\n",
      "intended for young children. We have already covered chapter(s) \"1. Introduction\", \"2. Structure of\n",
      "Japanese\", \"3. Writings in different genres and styles\", \"4. Using knowledge in writing\", \"5.\n",
      "Expressing opinions on a variety of topics\", \"6. Original writings\" and are now writing a chapter on\n",
      "\"7. Conclusion\". We have already covered the following sub-units in the current chapter: \"7.1.\n",
      "Review of course content\". Write the new sub-unit titled \"7.2. Future directions for Japanese\n",
      "language learning\" while trying to be: - Rigorous - you create challenging textbooks that cover the\n",
      "material in depth. - Engaging - your textbooks have a narrative arc and engaging tone, like the\n",
      "writing of Michael Lewis. - Applied - you use specific and practical examples. For example, if the\n",
      "topic is integration in calculus, include equations and proofs of the concept you're teaching. As\n",
      "another example, if the topic is the history of the United States, include dates, names, and key\n",
      "events. Remember this unit is intended for young children books, so use very simple, everyday words\n",
      "and phrases that a 10-year-old would easily understand. Tell an engaging and cheerful story and\n",
      "avoid any complex concepts or technical terms\n"
     ]
    }
   ],
   "source": [
    "print_in_lines(data.prompt[1], 100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Write a long and very detailed course unit for a textbook on \"10 French Women Who Changed History\"\n",
      "intended for professionals and researchers in the field. We are currently writing the first chapter:\n",
      "\"1. Introduction\". You will be writing the first sub-unit for this chapter. Write the new sub-unit\n",
      "titled \"1.1. Overview of the course\" while trying to be: - Rigorous - you create challenging\n",
      "textbooks that cover the material in depth. - Engaging - your textbooks have a narrative arc and\n",
      "engaging tone, like the writing of Michael Lewis. - Applied - you use specific and practical\n",
      "examples. For example, if the topic is integration in calculus, include equations and proofs of the\n",
      "concept you're teaching. As another example, if the topic is the history of the United States,\n",
      "include dates, names, and key events. The content should aim to engage a highly knowledgeable\n",
      "audience with very deep expertise in the topic. Include critical analysis of recent research\n",
      "findings and debates in the field.\n"
     ]
    }
   ],
   "source": [
    "print_in_lines(data.prompt[0], 100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1.1 Overview of the Course In this comprehensive textbook, we delve into the lives and achievements\n",
      "of ten influential French women who left indelible marks on history. Our focus extends beyond mere\n",
      "biographical sketches; instead, we examine each woman's contributions within their respective fields\n",
      "and assess how these advancements reverberate even today. Through rigorous examination and engaging\n",
      "storytelling, our goal is not only to provide an authoritative account but also to spark curiosity\n",
      "among seasoned scholars about fresh perspectives and ongoing scholarly debates. Our selection\n",
      "encompasses various domains such as politics, science, literature, art, activism, and philosophy –\n",
      "all areas where these trailblazing figures made significant strides despite facing societal\n",
      "constraints imposed by gender roles and expectations prevalent during their times. They navigated\n",
      "through challenges with resilience and determination, ultimately transforming society and leaving\n",
      "behind legacies worthy of exploration and celebration. Herein lies the importance of understanding\n",
      "the impact of these extraordinary individuals. By examining their journeys closely, we hope to shed\n",
      "light on the systemic barriers they overcame, thereby inspiring contemporary discussions around\n",
      "intersectionality, equity, and inclusivity. Furthermore, it allows us to critically analyze current\n",
      "historical narratives that often overlook or diminish women's contributions, thus perpetuating\n",
      "gender disparities. As experts in this domain, we recognize that there exist multiple\n",
      "interpretations regarding the influence and significance of some of these figures. This ambiguity\n",
      "fuels lively academic discourse and encourages continuous reevaluation of established viewpoints.\n",
      "Therefore, throughout this book, we present contrasting opinions from prominent historians, inviting\n",
      "readers to formulate their conclusions based on solid evidence and persuasive arguments. Chapter one\n",
      "begins by setting the stage for this journey, providing an overview of the course structure and\n",
      "methodology. Subsequent chapters illuminate individual stories interwoven with broader social\n",
      "contexts, offering insights into pivotal moments in French history shaped by these remarkable women.\n",
      "Each profile includes relevant primary sources, secondary analyses, and cutting-edge research\n",
      "findings, fostering deeper comprehension of each subject matter. This approach aims to bridge the\n",
      "gap between theoretical frameworks and applied examples, demonstrating the relevance of studying\n",
      "history and its applicability to modern issues. We aspire to stimulate thoughtful conversations and\n",
      "inspire future investigations, contributing to a more nuanced understanding of France's rich\n",
      "cultural tapestry and the global struggle for gender equality.\n"
     ]
    }
   ],
   "source": [
    "print_in_lines(data.text[0], 100)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 把Khanacademy输出归一化一下"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "130it [00:16,  7.73it/s]\n"
     ]
    }
   ],
   "source": [
    "from pathlib import Path; import re; import tqdm\n",
    "not_tab = 0\n",
    "dataset_dir = Path(r'H:\\2024_03_05课程大纲\\数据\\syllabus\\datasets\\cosmopedia')\n",
    "for file in tqdm.tqdm((dataset_dir / 'khanacademy/sentences_bak').glob('*')):\n",
    "    sentences = []\n",
    "    sentence = ''\n",
    "    for line in file.read_text(encoding='utf-8').split('\\n'):\n",
    "        if not line: continue\n",
    "        if re.search('\\d+-\\d+$', line):\n",
    "            sentence += line\n",
    "            if len(sentence.split('\\t')) != 2:\n",
    "                *lst, position = sentence.split('\\t')\n",
    "                sentence = ' '.join(lst) + '\\t' + position\n",
    "            sentences.append(sentence)\n",
    "            sentence = ''\n",
    "        else:\n",
    "            sentence += line\n",
    "    (dataset_dir / 'khanacademy/sentences' / file.name).write_text('\\n'.join(sentences))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### RSM和foundations of database进行输入归一化\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "loading rsm: 141it [00:00, 645.94it/s]\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "393698"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import tqdm; from pathlib import Path\n",
    "import nltk\n",
    "\n",
    "rsm_dir = Path(r'H:\\2024_03_05课程大纲\\数据\\syllabus\\datasets\\rsm\\rsm_coref')\n",
    "output_path = Path(r'H:\\2024_03_05课程大纲\\数据\\syllabus\\datasets\\rsm\\sentences\\rsm')\n",
    "\n",
    "sentences = []\n",
    "\n",
    "for path in tqdm.tqdm(rsm_dir.glob('*'), desc='loading rsm'):\n",
    "    for para_index, paragraph in enumerate(path.read_text(encoding='utf-8').split('\\n'), 1):\n",
    "        for sent_index, sentence_text in enumerate(nltk.tokenize.sent_tokenize(paragraph), 1):\n",
    "            sentence_text = sentence_text.replace('\\t', ' ')\n",
    "            position = f\"{path.name.split(' ')[0]}-{para_index}-{sent_index}\"\n",
    "            sentences.append(f'{sentence_text}\\t{position}')\n",
    "    \n",
    "output_path.write_text('\\n'.join(sentences))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ollama"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [],
   "source": [
    "import ollama\n",
    "from evaluation import load_rsm\n",
    "\n",
    "data = load_rsm()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [],
   "source": [
    "text = data[0][0].input\n",
    "\n",
    "response = ollama.chat(model='llama3.2:1b', messages=[ { 'role': 'user', 'content': f'summarize the text: <input text>{text}</input text> summarize the text within a sentence.', }, ])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The text discusses various models and frameworks for managing data, including relational databases,\n",
      "XML documents, and probabilistic data, with an emphasis on uncertainty in resource operation and\n",
      "modeling non-1NF data. It highlights the limitations of existing models such as Non-First Normal\n",
      "Form (Non-1NF) probabilistic models and proposes Probabilistic Resource Space Models to address\n",
      "these issues by effectively specifying membership probability distributions of resources on\n",
      "classification hierarchies.\n"
     ]
    }
   ],
   "source": [
    "print_in_lines(response['message']['content'], 100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[(1, 5), (1, 6), (1, 7), (2, 5), (2, 6), (2, 7), (3, 5), (3, 6), (3, 7)]"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from itertools import product\n",
    "\n",
    "list(product([1, 2, 3], [5, 6, 7]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "llama3.1:latest\n"
     ]
    }
   ],
   "source": [
    "for model in ollama.ps()['models']:\n",
    "    print(model.name)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## PageRank\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[[0.         0.27934012 0.         0.         0.         0.        ]\n",
      " [0.         0.         0.1499387  0.0177258  0.         0.        ]\n",
      " [0.28877526 0.         0.         0.         0.         0.        ]\n",
      " [0.         0.         0.29987741 0.         0.         0.        ]\n",
      " [0.         0.         0.         0.         0.         0.06267645]\n",
      " [0.         0.         0.         0.         0.         0.        ]]\n"
     ]
    }
   ],
   "source": [
    "import networkx as nx\n",
    "import numpy as np\n",
    "\n",
    "G = nx.DiGraph()\n",
    "G.add_edge(1, 2, weight = 500)\n",
    "G.add_edge(2, 3, weight = 300)\n",
    "G.add_edge(3, 1, weight = 700)\n",
    "G.add_edge(2, 4, weight = 2)\n",
    "G.add_edge(4, 3, weight = 6)\n",
    "G.add_edge('x', 'y', weight = 6)\n",
    "\n",
    "# 计算带权重边的PageRank值\n",
    "pagerank_dict = nx.pagerank(G, weight = 'weight', max_iter=1000, tol = 1e-6)\n",
    "# 计算PageRank值\n",
    "# pagerank_dict = nx.pagerank(G)\n",
    "\n",
    "# 获取节点列表\n",
    "nodes = list(G.nodes())\n",
    "num_nodes = len(nodes)\n",
    "\n",
    "# 初始化PageRank矩阵\n",
    "pagerank_matrix = np.zeros((num_nodes, num_nodes))\n",
    "\n",
    "# 填充PageRank矩阵\n",
    "for i in range(num_nodes):\n",
    "    from_node = nodes[i]\n",
    "    out_edges = list(G.out_edges(from_node))\n",
    "    out_degree = G.out_degree(from_node)\n",
    "    for j in range(num_nodes):\n",
    "        to_node = nodes[j]\n",
    "        if (from_node, to_node) in out_edges:\n",
    "            pagerank_matrix[i][j] = pagerank_dict[to_node] / out_degree\n",
    "\n",
    "\n",
    "print(pagerank_matrix)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{}"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "G.graph"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "wsln",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.10"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
